bilby.gw.conversion.component_masses_to_total_mass

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

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

Parameters:
mass_1: float

Mass of the heavier object

mass_2: float

Mass of the lighter object

Returns:
total_mass: float

Total mass of the binary