bilby.gw.cosmology.z_at_value
- bilby.gw.cosmology.z_at_value(func, fval, **kwargs)[source]
Wrapped version of
astropy.cosmology.z_at_valueto return float rather than anastropy Quantityas 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.