yt.analysis_modules.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.