ioneq

class ChiantiPy.core.ioneq(el_or_z)[source] [edit on github]

Bases: object

Calculation ion fractions as a function of temperature assuming ionization equilibrium.

Parameters:

el_or_z : int or str

Atomic number or symbol

Methods Summary

calculate(temperature) Calculate ion fractions for given temperature array using the total ionization and recombination rates.
load([ioneqName]) Read temperature and ion fractions from a CHIANTI “.ioneq” file.
plot([stages, xr, yr, oplot, label, title, …]) Plots the ionization equilibria.

Methods Documentation

calculate(temperature)[source] [edit on github]

Calculate ion fractions for given temperature array using the total ionization and recombination rates.

load(ioneqName=None)[source] [edit on github]

Read temperature and ion fractions from a CHIANTI “.ioneq” file.

plot(stages=0, xr=0, yr=0, oplot=0, label=1, title=1, bw=0, semilogx=0)[source] [edit on github]

Plots the ionization equilibria.

self.plot(xr=None, yr=None, oplot=False) stages = sequence of ions to be plotted, neutral == 1, fully stripped == Z+1 xr = temperature range, yr = ion fraction range

for overplotting: oplot=”ioneqfilename” such as ‘mazzotta’ or if oplot=True or oplot=1 and a widget will come up so that a file can be selected.