gwpopulation_pipe.utils.chi_eff_from_components

chi_eff_from_components(a_1, cos_tilt_1, a_2, cos_tilt_2, mass_ratio)[source]

Compute the effective spin parameter from the component spins.

Parameters:
a_1: array-like

The magnitude of the primary spin.

cos_tilt_1: array-like

The cosine of the tilt of the primary spin.

a_2: array-like

The magnitude of the secondary spin.

cos_tilt_2: array-like

The cosine of the tilt of the secondary spin.

mass_ratio: array-like

The mass ratio of the binary.

Returns:
chi_eff: array-like

The effective spin parameter.