gwpopulation_pipe.utils.chi_p_from_components
- chi_p_from_components(a_1, cos_tilt_1, a_2, cos_tilt_2, mass_ratio)[source]
Compute the precession 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_p: array-like
The precession spin parameter.