setup_line_parameters#

sunkit_spex.thermal.setup_line_parameters(filename=None)[source]#

Define line intensities as a function of temperature for calculating line emission.

Line intensities are set as global variables and used in the calculation of spectra by other functions in this module. They are in units of per unit emission measure at source, i.e. they must be divided by 4 pi R**2 (where R is the observer distance) and multiplied by emission measure to be converted to physical values at the observer.

Line intensities are derived from output from the CHIANTI atomic physics database. The default CHIANTI data used here is collected from https://hesperia.gsfc.nasa.gov/ssw/packages/xray/dbase/chianti/chianti_lines_1_10_v71.sav. To use a different file, provide the URL/file location via the filename kwarg.

Parameters:

filename (str (optional)) – URL or file location of the CHIANTI IDL save file to be used.