trident.absorption_spectrum.absorption_spectrum.AbsorptionSpectrum.add_line
- AbsorptionSpectrum.add_line(label, field_name, wavelength, f_value, gamma, atomic_mass, label_threshold=None)[source]
Add an absorption line to the list of lines included in the spectrum.
Parameters
- Label
string
label for the line.
- Field_name
string
field name from ray data for column densities.
- Wavelength
float
line rest wavelength in angstroms.
- F_value
float
line f-value.
- Gamma
float
line gamme value.
- Atomic_mass
float
mass of atom in amu.