AtmosphericExtinction

class specreduce.calibration_data.AtmosphericExtinction(model='kpno', extinction=None, spectral_axis=None, cache=True, show_progress=False, **kwargs)[source]

Bases: Spectrum1D

Spectrum container for atmospheric extinction in magnitudes as a function of wavelength. If extinction and spectral_axis are provided, this will use them to build a custom model. If they are not, the ‘model’ parameter will be used to lookup and load a pre-defined atmospheric extinction model from the specreduce_data package.

Parameters:
modelstr

Name of atmospheric extinction model provided by specreduce_data. Valid options are:

kpno - Kitt Peak National Observatory (default) ctio - Cerro Tololo International Observatory apo - Apache Point Observatory lapalma - Roque de los Muchachos Observatory, La Palma, Canary Islands mko - Mauna Kea Observatories mtham - Lick Observatory, Mt. Hamilton station paranal - European Southern Observatory, Cerro Paranal station

extinctionLogUnit, Magnitude,
`~astropy.units.dimensionless_unscaled`, 1D list-like, or None

Optionally provided extinction data for this spectrum. Used along with spectral_axis to build custom atmospheric extinction model. If no units are provided, assumed to be given in magnitudes.

spectral_axisQuantity or SpectralCoord or None

Optional Dispersion information with the same shape as the last (or only) dimension of flux, or one greater than the last dimension of flux if specifying bin edges. Used along with flux to build custom atmospheric extinction model.

Attributes Summary

extinction_mag

This property returns the extinction in magnitudes

transmission

This property returns the transmission as a fraction between 0 and 1

Attributes Documentation

extinction_mag

This property returns the extinction in magnitudes

transmission

This property returns the transmission as a fraction between 0 and 1