AtmosphericExtinction

class specreduce.calibration_data.AtmosphericExtinction(model: str = 'kpno', extinction: Sequence[float] | Quantity | None = None, spectral_axis: SpectralCoord | Quantity | None = None, cache: bool | Literal['update'] = True, show_progress: bool = False, **kwargs: str)[source]

Bases: Spectrum

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

extinctionfloat, Quantity, or None, optional

Provides 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_axisSpectralCoord, Quantity, 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:
extinction_magQuantity

This property returns the extinction in magnitudes

transmissionQuantity

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

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