uvex_transients.transients.base.ExtragalacticTransient.rate_shape#
- abstractmethod ExtragalacticTransient.rate_shape(z: float | NDArray[float64]) float | NDArray[float64][source]#
Compute the dimensionless redshift shape \(f(z)\) of the comoving event rate.
Must be NumPy-vectorized (accept and return an array elementwise when z is an array) – event_rate (and, through it, integrated_rate) evaluates this once, across the whole redshift_grid, not in a per-point loop. By convention (not enforced) \(f(0)=1\), making rate the local volumetric rate; see Yield Statistics.
- Parameters:
z (
floatornumpy.ndarray) – Redshift(s) at which to evaluate the rate shape.- Returns:
The dimensionless rate shape, \(f(z)\).
- Return type: