gwinferno.preprocess.conversions.chieff_from_q_component_spins#
- chieff_from_q_component_spins(q, a1, a2, ct1, ct2)[source]#
Calculate the effective spin from, mass ratio, component spin magnitudes and tilts.
\[\chi_\mathrm{eff} = \frac{a_1 \cos t_1 + q a_2 \cos \theta_2}{1 + q}\]- 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.
- Returns:
- array_like
Effective spin.