bilby.gw.conversion.chirp_mass_and_mass_ratio_to_component_masses

bilby.gw.conversion.chirp_mass_and_mass_ratio_to_component_masses(chirp_mass, mass_ratio)[source]

Convert total mass and mass ratio of a binary to its component masses.

Parameters:
chirp_mass: float

Chirp mass of the binary

mass_ratio: float

Mass ratio (mass_2/mass_1) of the binary

Returns:
mass_1: float

Mass of the heavier object

mass_2: float

Mass of the lighter object