setup_continuum_parameters#

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

Define continuum intensities as a function of temperature.

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

Intensities are derived from output from the CHIANTI atomic physics database. The default CHIANTI data used here are collected from https://hesperia.gsfc.nasa.gov/ssw/packages/xray/dbase/chianti/chianti_cont_1_250_v71.sav. This includes contributions from thermal bremsstrahlung and two-photon interactions. To use a different file, provide the URL/file location via the filename kwarg, e.g. to include only thermal bremsstrahlung, set the filename kwarg to ‘https://hesperia.gsfc.nasa.gov/ssw/packages/xray/dbase/chianti/chianti_cont_1_250_v70_no2photon.sav

Parameters:

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