TransientBase#
- class uvex_transients.transients.base.TransientBase(cosmology: Cosmology | None = None, **_)[source]#
Abstract base class for transient types.
A container: one
SpectralModelinstance (sed) plus the metadata needed to window a survey simulation around it (duration_limit). All flux/magnitude/spectrum evaluation is the SED’s own job – seeSpectralModeland, for a composed lightcurve + spectral-shape SED,ComposedSpectralModel.- Parameters:
cosmology (
Cosmology, optional) – The cosmology to use for this transient class. See__init__().**_ – Ignored. See
__init__().
Methods
registry()dict[str, type[TransientBase]]: A copy of every concrete subclass imported so far, keyed by class name.
Attributes
The duration of this transient.
The SED model class associated with this transient type.
The cosmology used for luminosity-distance/volume calculations.
Upper bound on this transient's total duration.
This instance's SED -- flux, magnitude, and spectrum evaluation all live here.