gwinferno.preprocess.conversions#

a module that stores helpful conversion functions between parameters

Functions

alpha_beta_from_mu_var

Convert desired mean and variance to α, β shape parameters of the Beta distribution.

chieff_from_q_component_spins

Calculate the effective spin from, mass ratio, component spin magnitudes and tilts.

chip_from_q_component_spins

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

mu_var_from_alpha_beta

Convert α, β shape parameters of the Beta distribution to the mean and variance.