specTrails

class ChiantiPy.base.specTrails(temperature, density)[source] [edit on github]

Bases: object

a collection of methods for use in spectrum calculations

Methods Summary

convolve([wavelength, filter, label, verbose]) the first application of spectrum calculates the line intensities within the specified wavelength range and for set of ions specified
ionGate([elementList, ionList, minAbund, …]) creates a list of ions for free-free, free-bound, and line intensity calculations
lineSpectrumPlot([index, integrated, …]) to plot the line spectrum as a function of wavelength
spectrumPlot([index, integrated, saveFile, …]) to plot the spectrum as a function of wavelength

Methods Documentation

convolve(wavelength=0, filter=(<function gaussianR>, 1000.0), label=0, verbose=0)[source] [edit on github]

the first application of spectrum calculates the line intensities within the specified wavelength range and for set of ions specified

wavelength will not be used if applied to ‘spectrum’ objects

wavelength IS need for ‘bunch’ objects - in this case, the wavelength should not extend beyond the limits of the wvlRange used for the ‘bunch’ calculation

ionGate(elementList=None, ionList=None, minAbund=None, doLines=1, doContinuum=1, doWvlTest=1, verbose=0)[source] [edit on github]

creates a list of ions for free-free, free-bound, and line intensity calculations if doing the radiative losses, accept all wavelength -> doWvlTest=0 the list is a dictionary self.Todo

lineSpectrumPlot(index=0, integrated=0, saveFile=0, linLog='lin')[source] [edit on github]

to plot the line spectrum as a function of wavelength

spectrumPlot(index=-1, integrated=0, saveFile=0, linLog='lin')[source] [edit on github]

to plot the spectrum as a function of wavelength