slicersim.target

slicersim.target#

Targets, the observation-level view of a simulation.

A target wraps a Simulation and exposes what one actually asks of an observation: exposure time and signal-to-noise calculations, reconfiguration of the detector and of the spectrograph, and access to the simulated spectra and cubes.

VirtualTarget holds that generic interface and is not meant to be used directly. The concrete targets differ only by the scene they build: Supernova for SN Ia models, Kilonova for kilonova models, CalSpec for HST CalSpec standard stars, BlackBody and PowerLaw for analytic spectra, Target for an arbitrary input spectrum, and Galaxy for a galaxy alone (no point source). All point-source targets accept a host galaxy (see host). Instrument-specific flavours are defined in lazuli, and calibration exposures in calibration.

Classes

BlackBody

Black body point source target.

CalSpec

HST CalSpec spectrophotometric standard star target.

Galaxy

Galaxy target, alone (no point source).

Kilonova

Kilonova point source target.

PowerLaw

Power-law point source target.

Supernova

Type Ia supernova point source target.

Target

Point source target with an arbitrary input spectrum.

VirtualTarget

Base class of all targets (see child classes).