yt.analysis_modules.absorption_spectrum.absorption_spectrum.AbsorptionSpectrum.add_continuum

AbsorptionSpectrum.add_continuum(label, field_name, wavelength, normalization, index)[source]

Add a continuum feature that follows a power-law.

Parameters:

label : string

label for the feature.

field_name : string

field name from ray data for column densities.

wavelength : float

line rest wavelength in angstroms.

normalization : float

the column density normalization.

index : float

the power-law index for the wavelength dependence.