slicersim.spectrograph

slicersim.spectrograph#

Spectrograph models: wavelength sampling, spaxels, PSF, LSF and throughput.

This module provides the Spectrograph base class and its SlicerSpectrograph and MLASpectrograph flavours, which convert input scene spectra (in erg/s/cm²/Å) into photon flux cubes (in ph/s/spaxel) sampled on the spectrograph wavelength and spaxel grids. It also provides OpticsThroughput, which handles the chromatic throughput of the optical elements.

Classes

MLASpectrograph

Micro-lens array (MLA) spectrograph.

OpticsThroughput

Throughput of the optical elements.

SlicerSpectrograph

Image-slicer spectrograph, with anamorphosis.

Spectrograph

Generic integral field spectrograph.

Functions

build_lbda

Build the wavelength coordinates.

build_lbda_from_config

Build wavelength coordinates from a configuration dictionary.

build_spaxels_from_config

Build spaxel coordinates from a configuration dictionary.

build_throughput_from_config

Build throughput from a configuration dictionary.

lbda_from_resolution_power

Compute a wavelength ramp with a constant resolving power.