uvex_transients.transients.supernovae.MagnetarSLSNe.AVERAGE_OVER_EXPOSURE#

MagnetarSLSNe.AVERAGE_OVER_EXPOSURE: ClassVar[bool] = False#

Whether an observation measures the flux averaged over its exposure, instead of at its start.

The default, False, takes the SED at the start of each exposure, which is accurate for a source that changes little during one (every shipped class, whose timescales are far longer than a UVEX dwell). A subclass whose light curve can be short compared to an exposure sets this to True: SurveySimulator.iter_epochs and ~uvex_transients.simulation.event.Event then measure it from the photons that arrive over the whole exposure (see ~uvex_transients.models.core.base.SpectralModel.measure_photometry), and also measure an exposure that starts before the explosion and ends after it, diluted by the part before. This costs 28 evaluations of the SED per observation.

Type:

bool