trident.spectrum_generator.SpectrumGenerator.add_line_to_database
- SpectrumGenerator.add_line_to_database(element, ion_state, wavelength, gamma, f_value, field=None, identifier=None)[source]
Adds desired line to the current
LineDatabase
object.Parameters
- Element
string
The element of the transition using element’s symbol on periodic table
- Ion_state
string
The roman numeral representing the ionic state of the transition
- Wavelength
float
The wavelength of the transition in angstroms
- Gamma
float
The gamma of the transition in Hertz
- F_value
float
The oscillator strength of the transition
- Field
string, optional
The default yt field name associated with the ion responsible for this line Default: None
- Identifier
string, optional
An optional identifier for the transition Default: None