gwinferno.preprocess.priors#

a module that stores useful prior functions to evaluate spin priors in terms of effective spin parameters

Functions

Di

Wrapper for the scipy implementation of Spence's function.

chi_effective_prior_from_aligned_spins

Calculate the conditional prior density for effective spin \(p(\chi_\mathrm{eff}\mid q)\) corresponding to uniform and aligned component spin priors.

chi_effective_prior_from_isotropic_spins

Calculate the conditional prior density for effective spin \(p(\chi_\mathrm{eff}\mid q)\) corresponding to uniform and isotropic component spin priors.

chi_p_prior_from_isotropic_spins

Calculate the conditional prior density for effective precession \(p(\chi_\mathrm{p}\mid q)\) corresponding to uniform and isotropic component spin priors.

chi_p_prior_given_chi_eff_q

Calculate the prior density for effective precession conditioned on effective spin and mass ratio, \(p(\chi_\mathrm{p}\mid \chi_\mathrm{eff}, q)\), corresponding to uniform and isotropic component spin priors.

joint_prior_from_isotropic_spins

Calculate the joint prior density for effective spin and precession conditioned on mass ratio, corresponding to uniform and isotropic component spin priors,