Package chianti :: Package core :: Module Ion :: Class ioneq
[hide private]
[frames] | no frames]

Class ioneq

source code

  _IonTrails._ionTrails --+    
                          |    
_SpecTrails._specTrails --+    
                          |    
                        ion --+
                              |
                             ioneq

Reads, calculates, and/or plots the ionization equilibrium for an element as a function of temperature. The variable z is the atomic number of the element. Acceptable values are from 1 to 30.

Instance Methods [hide private]
 
__init__(self, z, verbose=False)
a class to calculate and plot ionization equilibria
source code
 
calculate(self, temperature)
returns with the ionization balance as self.Ioneq and temperature as self.Temperature
source code
 
load(self, ioneqName)
read in an existing file ionization equilibrium file ioneqName should be something like 'chianti', or 'chianti_version6'
source code
 
plot(self, stages=0, xr=0, yr=0, oplot=0, label=1, title=1, bw=0, semilogx=0)
Plots the ionization equilibria.
source code

Inherited from ion: boundBoundLoss, cireclvlDescale, diCross, diRate, drRate, drRateLvl, eaCross, eaDescale, eaRate, emiss, emissList, emissPlot, emissRatio, gofnt, intensity, intensityRatioInterpolate, ioneqOne, ionizCross, ionizRate, p2eRatio, popPlot, populate, recombRate, rrRate, setup, setupIonrec, spectrum, twoPhoton, twoPhotonEmiss, twoPhotonLoss, upsilonDescale, upsilonDescaleSplups

Inherited from _IonTrails._ionTrails: intensityList, intensityPlot, intensityRatio, intensityRatioSave

Inherited from _SpecTrails._specTrails: convolve, ionGate, lineSpectrumPlot, spectrumPlot

Method Details [hide private]

__init__(self, z, verbose=False)
(Constructor)

source code 

a class to calculate and plot ionization equilibria

Overrides: _SpecTrails._specTrails.__init__

plot(self, stages=0, xr=0, yr=0, oplot=0, label=1, title=1, bw=0, semilogx=0)

source code 

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.