uvex_transients.utils.lightcurve_archive#

Access to the packaged literature light-curve archive (test_data/transients/lightcurves.h5).

The archive groups every calibration light curve used by the Sphinx transient-type galleries (docs/source/transients/*.rst) under /<transient_type>/<transient>/<field>, where <transient_type> matches one of the uvex_transients.transients modules (kilonovae, lfbots, supernovae, tdes), <transient> is <designation>_<citekey> (e.g. gw170817_waxman), and <field> is an observable such as L_bol or T_phot. Each leaf is an ~astropy.table.QTable with time and <field> columns as unit-aware ~astropy.units.Quantity columns, plus a reference entry in .meta recording the source.

Supernovae are additionally split by spectroscopic classification, so their <transient_type> is supernovae/<class> with <class> one of Ia, II, IIP, IIb, Ib, Ic, Ic-BL or SLSN-I (e.g. archive.table("supernovae/IIb", "2011dh_lyman2016", "L_bol")). LightcurveArchive.types() lists only top-level groups, so use LightcurveArchive.events() on "supernovae" to list the classes.

Classes

LightcurveArchive([path])

Read-only access to the packaged literature light-curve archive.