bilby.gw.conversion.comoving_distance_to_luminosity_distance
- bilby.gw.conversion.comoving_distance_to_luminosity_distance(distance, cosmology=None)[source]
Convert from comoving_distance to luminosity_distance
- Parameters:
- comoving_distance: float
The comoving_distance to convert.
- cosmology: astropy.cosmology.Cosmology
The cosmology to use for the transformation. See
bilby.gw.cosmology.get_cosmology
for details of how to specify this.
- Returns:
- float
The luminosity_distance corresponding to the provided comoving_distance.