Package chianti :: Package core :: Module _IonTrails :: Class _ionTrails
[hide private]
[frames] | no frames]

Class _ionTrails

source code

Known Subclasses:

a collection of methods for use in ion and spectrum calculations

Instance Methods [hide private]
 
__init__(self) source code
 
intensityList(self, index=-1, wvlRange=None, wvlRanges=None, top=10, relative=0, outFile=0)
List the line intensities
source code
 
intensityPlot(self, index=-1, wvlRange=None, top=10, linLog='lin', relative=0, verbose=0, plotFile=0, saveFile=0, em=0)
Plot the line intensities.
source code
 
intensityRatio(self, wvlRange=None, wvlRanges=None, top=10)
Plot the ratio of 2 lines or sums of lines.
source code
 
intensityRatioSave(self, outFile=0)
Save the intensity ratio to a file.
source code
Method Details [hide private]

intensityList(self, index=-1, wvlRange=None, wvlRanges=None, top=10, relative=0, outFile=0)

source code 

List the line intensities

wvlRange, a 2 element tuple, list or array determines the wavelength range

Top specifies to plot only the top strongest lines, default = 10

normalize = 1 specifies whether to normalize to strongest line, default = 0 rewrite of emissList

intensityPlot(self, index=-1, wvlRange=None, top=10, linLog='lin', relative=0, verbose=0, plotFile=0, saveFile=0, em=0)

source code 

Plot the line intensities.

wvlRange, a 2 element tuple, list or array determines the wavelength range

Top specifies to plot only the top strongest lines, default = 10

linLog specifies a linear or log plot, want either lin or log, default = lin

normalize = 1 specifies whether to normalize to strongest line, default = 0

intensityRatio(self, wvlRange=None, wvlRanges=None, top=10)

source code 

Plot the ratio of 2 lines or sums of lines. Shown as a function of density and/or temperature. For a single wavelength range, set wvlRange = [wMin, wMax] For multiple wavelength ranges, set wvlRanges = [[wMin1,wMax1],[wMin2,wMax2], ...] A plot of relative emissivities is shown and then a dialog appears for the user to choose a set of lines.

intensityRatioSave(self, outFile=0)

source code 

Save the intensity ratio to a file.

The intensity ratio as a function to temperature and eDensity is saved to an asciii file.

Descriptive information is included at the top of the file.