eradiate.spectral#

Data structures for working along the spectral dimension.

Spectral grid#

SpectralGrid()

Abstract interface for all spectral grids.

MonoSpectralGrid(wavelengths)

A spectral grid consisting of discrete wavelengths, used in monochromatic modes.

CKDSpectralGrid(wmins, wmaxs[, wcenters, ...])

A spectral grid that splits the spectral dimensions into bins characterized by their bounds.

Spectral response functions#

SpectralResponseFunction()

An interface defining the spectral response function of an instrument.

UniformSRF([wmin, wmax, value])

A spectral response function uniform on a preset spectral interval.

BandSRF(wavelengths, values)

The spectral response function for a single band of an instrument.

DeltaSRF(wavelengths)

A spectral response function consisting of multiple Dirac delta distributions.

Spectral response utilities#

response.make_gaussian(wl_center, fwhm[, ...])

Generate a Gaussian spectral response function dataset from central wavelength and full width at half maximum values.

Spectral indexes#

SpectralIndex()

Abstract spectral index base class.

MonoSpectralIndex([w])

Monochromatic spectral index.

CKDSpectralIndex([w, g])

CKD spectral index.

CKD spectral quadrature specification strategies#

CKDQuadConfig([type, ng_max, policy])

This class holds configuration parameters for a CKD quadrature rule.

CKDQuadPolicy(value)

This enumeration defines flags mapping to policies defining the number of CKD spectral quadrature points for a given spectral bin.