gwinferno.preprocess.conversions.chip_from_q_component_spins#

chip_from_q_component_spins(q, a1, a2, ct1, ct2, math=<module 'numpy' from '/usr/share/miniconda/envs/__setup_conda/lib/python3.9/site-packages/numpy/__init__.py'>)[source]#

Calculate the effective precessing spin, \(\chi_\mathrm{p}\), from the mass ratio, component spin magnitudes and tilts.

Parameters:
qarray_like

Mass ratio (defined from 0 to 1).

a1array_like

Spin magnitude of the primary component.

a2array_like

Spin magnitude of the secondary component.

ct1array_like

Cosine of the spin tilt of the primary component.

ct2array_like

Cosine of the spin tilt of the secondary component.

mathmodule, default=`numpy`

Math module to use.

Returns:
array_like

Effective precessing spin.