bilby.gw.conversion.component_masses_to_mass_ratio

bilby.gw.conversion.component_masses_to_mass_ratio(mass_1, mass_2)[source]

Convert the component masses of a binary to its chirp mass.

Parameters:
mass_1: float

Mass of the heavier object

mass_2: float

Mass of the lighter object

Returns:
mass_ratio: float

Mass ratio of the binary