ExtragalacticTransient#
- class uvex_transients.transients.base.ExtragalacticTransient(cosmology: Cosmology | None = None)[source]#
Extragalactic transient with a cosmological volumetric event rate; see the module docstring.
- Parameters:
cosmology (
Cosmology, optional) – The cosmology to use for this transient class. See__init__().
Methods
compute_all_sky_yield(duration)Compute the expected intrinsic event count over the full sky.
compute_all_sky_yield_ci(duration)Compute rate-only bounds on the expected all-sky intrinsic event count.
event_rate(z)Compute the comoving event rate density at redshift(s) z, \(R(z;A)=A f(z)\).
get_detection_horizon(mag_limits, ...[, rng])Derive the redshift beyond which this population is undetectable, for each magnitude limit.
integrated_rate_to(z[, all_sky])Compute the expected event rate out to a redshift, \(z \le z_{\max}\).
luminosity_function(bandpass, n, *[, ...])Estimate the luminosity function of this transient class in a band, by drawing events from its SED priors.
rate_shape(z)Compute the dimensionless redshift shape \(f(z)\) of the comoving event rate.
registry()dict[str, type[TransientBase]]: A copy of every concrete subclass imported so far, keyed by class name.
sample_event_count(solid_angle[, duration, ...])Sample the number of events in a given solid angle and duration.
sample_event_redshift(n_samples, *[, rng])Draw n_samples redshifts from the rate-weighted redshift distribution.
sample_events_on_healpix_grid(nside, *, t_start)Draw a Monte Carlo realization of events on a HEALPix grid, over a time window.
Attributes
Whether an observation measures the flux averaged over its exposure, instead of at its start.
The duration of this transient.
The SED model class associated with this transient type.
Whether the package ships a stored horizon_curve file for this class.
Earliest rest-frame time of the horizon_curve light-curve grid.
Multiplicative (lower, upper) 90% confidence factors on rate.
Expected all-sky event rate per observer year.
Rate-only bounds on
all_sky_rate.The cosmology used for luminosity-distance/volume calculations.
Upper bound on this transient's total duration.
\(\mathcal V\), the all-sky rate-weighted comoving volume.
The redshift limit of this population as a function of single-dwell depth.
Expected event rate per observer time and solid angle.
Rate-only bounds on
integrated_rate.\(D_L(z)\) at each point of redshift_grid.
How far after explosion Event.simulate_photometry evaluates sed.
How far before explosion Event.simulate_photometry still generates photometry.
The fiducial rate normalization \(R_0\) (this class's \(A\)).
(R_L, R_U), the confidence bounds on rate.The cached redshift grid backing integrated_rate/sampling.
Number of points in redshift_grid; reassigning invalidates the rate cache.
Upper redshift bound of redshift_grid; reassigning invalidates the rate cache.
This instance's SED -- flux, magnitude, and spectrum evaluation all live here.