uvex_transients.phase_space.sampling.canonical#

The canonical sampler: a fast-rise, exponential-decay transient with a power-law spectrum.

CanonicalSampler is the sampler of the canonical recovery map. A point of its space is the base-10 logarithm of \(L_\mathrm{band}\) in erg/s and of \(t_{1/2}\) in days. \(L_\mathrm{band}\) is the peak rest-frame luminosity emitted in the band, \(L_\nu\Delta\nu\) for the equivalent bandwidth \(\Delta\nu\) of the band with \(L_\nu\) taken at its effective frequency, and \(t_{1/2}\) is the rest-frame time from the peak until the luminosity has fallen to half. Any other SED is placed on the same map by measuring the same two quantities on it (peak_luminosity() and decline_time). One sampler makes the map of one band.

The transient that stands in for one point of the map is _CanonicalTransient. A recovery map is over a population’s peak luminosity and half-decline time, so a point needs a transient with just those two free quantities: a FRED light curve with a power-law spectrum, whose shape, spectral index and band edges are fixed. ~_CanonicalTransient.set_point places it at a luminosity and a half-decline time, and it is otherwise an ordinary ExtragalacticTransient, at a constant rate of one event per Mpc^3 per year, so the usual event sampling and SNR screening run on it unchanged. A decaying light curve has no end, so an event is followed until it has faded by fade_mag magnitudes, which sets the window of observations that can see it. The class name starts with an underscore and the module is not one the CLI imports, which keeps it out of full_run.yaml and the checks that iterate over shipped classes.

RedshiftLimit is the redshift out to which a power-law source of a given luminosity is brighter than a depth, tabulated once and inverted by interpolation.

Attributes

FREQUENCY_MIN

3 micron to 30 A.

Functions

fred_time_scales(rise_ratio, fade_mag)

Return the half-decline time and the fade time of a FRED light curve, in units of its decay time \(\tau_2\).

Classes

CanonicalSampler(schedule[, mission, ...])

Count the recoveries of a canonical transient at points of the luminosity-half-decline-time plane.

RedshiftLimit(mag_limit[, cosmology, z_min, ...])

The redshift out to which a power-law source of a given luminosity is brighter than a depth.