slicersim.lazuli

slicersim.lazuli#

Lazuli-specific targets and exposure time calculators.

Lazuli is a two-field integral field spectrograph: a narrow field (40 mas spaxels) and a wide field (80 mas spaxels) observe adjacent sky regions at two samplings and are imaged side by side on a single detector. The classes here specialise the generic targets of target (e.g. LazuliSupernova, LazuliKilonova, LazuliCalSpec, LazuliTarget, or LazuliGalaxy for a galaxy alone) with the Lazuli instrument configuration and add the handling of the two fields, from switching between them (VirtualLazuliTarget.change_spectrograph) to projecting both onto one detector image (VirtualLazuliTarget.to_image).

The module also exposes two convenience exposure time calculators, lazuli_sn_etc for SN Ia models and lazuli_etc for an arbitrary input spectrum.

Classes

Lazuli3DFlat

Lazuli 3D flat-field calibration target.

LazuliBlackBody

A black body point source observed with Lazuli.

LazuliCalSpec

An HST CalSpec spectrophotometric standard star observed with Lazuli.

LazuliFlat

A spatially uniform source observed with Lazuli.

LazuliGalaxy

A galaxy alone (no point source) observed with Lazuli.

LazuliKilonova

A kilonova observed with Lazuli.

LazuliPowerLaw

A power-law point source observed with Lazuli.

LazuliSupernova

A Type Ia supernova observed with Lazuli.

LazuliTarget

Any spectrum observed with Lazuli, as a point source.

VirtualLazuliTarget

Mixin adding the Lazuli instrument and its two fields to a target.

Functions

lazuli_etc

Compute the exposure time needed to reach a given SNR on any spectrum.

lazuli_sn_etc

Compute the exposure time needed to reach a given SNR on a SN Ia.

spectroconfig_to_fieldname

Get the Lazuli field name matching a spectrograph spaxel configuration.