uvex_transients.transients.kilonovae.Kilonova.integrated_rate_to#
- Kilonova.integrated_rate_to(z: float | NDArray[float64], all_sky: bool = False) Quantity | NDArray[float64]#
Compute the expected event rate out to a redshift, \(z \le z_{\max}\).
Truncate the integral defining
integrated_rateatz:\[\mathcal R_\Omega(<z) = \int_0^{z} \frac{R(z')}{1+z'} \frac{dV_c}{dz'\,d\Omega}\,dz'.\]- Parameters:
z (
floatorndarray) – Upper redshift bound(s), each in \([0, z_{\max}]\), where \(z_{\max}\) isredshift_limit.all_sky (
bool, optional) – If True, return the all-sky rate in inverse years (asall_sky_rate) instead of the rate per steradian (asintegrated_rate). Default False.
- Returns:
Expected rate per observer time and solid angle (or per observer time if
all_sky), with the same shape asz. No survey footprint or detection selection is applied.- Return type:
- Raises:
ValueError – If any
zis non-finite, negative, or beyondredshift_limit.
Notes
Evaluated by linear interpolation of the cumulative rate tabulated on
redshift_grid, so its accuracy is set byredshift_grid_size.integrated_rate_to(redshift_limit)equalsintegrated_rate. The rate-only bounds follow by scaling with theRATE_CImultipliers.