EffectivePeakGrid#
- class uvex_transients.models.core.detection_horizon.EffectivePeakGrid(m_eff: ndarray, z_grid: ndarray, criterion: str, k: int | None, bands: tuple[str, ...], t_rest: ndarray, parameters: dict)[source]#
Effective peak magnitudes of a sampled population on a redshift grid.
Returned by effective_peak_grid and read by observability_curve. It does not depend on any magnitude limit, so one grid serves any number of limits, confidences and tolerances.
- Variables:
m_eff (
numpy.ndarray) – Effective peak AB magnitudes, shape(M, Z): one row per draw, one column per redshift.infmeans the draw emits no flux at that redshift.nanmeans the model has no valid epoch for it on the time grid, and counts as undetectable.z_grid (
numpy.ndarray) – The redshifts, shape(Z,), strictly increasing.criterion (
{"any", "all", "k_of_n"}) – How bands were combined; see reduce_bands.t_rest (
numpy.ndarray) – The rest-frame time grid in seconds.parameters (
dict) – TheMsampled parameter values,{name: array of shape (M,)}in physical units. Rowiof m_eff belongs to elementiof each, so one can ask which parameters set the horizon.
Methods
Attributes