bilby.gw.cosmology.z_at_value
- bilby.gw.cosmology.z_at_value(func, fval, **kwargs)[source]
Wrapped version of
astropy.cosmology.z_at_value
to return float rather than anastropy Quantity
as returned forastropy>=5
.See https://docs.astropy.org/en/stable/api/astropy.cosmology.z_at_value.html#astropy.cosmology.z_at_value for detailed documentation.