uvex_transients.transients.horizon.HorizonCurve.z_limit#
- HorizonCurve.z_limit(mag_limit: ArrayLike | Quantity) float | NDArray[float64][source]#
Look up the redshift limit for a magnitude limit.
The curve is interpolated linearly in \(\log z\) against the magnitude, which is exact for the nearby Universe, where \(m = 5\log_{10} z + \mathrm{const}\). A limit shallower than the first tabulated magnitude returns the first redshift, which is an overestimate and so the safe direction.
- Parameters:
mag_limit (
float,array-likeorQuantity) – The AB magnitude limit(s).- Returns:
The redshift limit(s), in the shape of mag_limit.
- Return type:
- Raises:
ValueError – If a limit is deeper than the deepest tabulated magnitude, since the curve cannot bound the population there. Regenerate the curve with a deeper MAG_LIMITS.