Functions | |
def | calc_final_mass_spin (m1, m2, chi1, chi2, chi1z, chi2z, phi12, fit_formula) |
calculate the mass and spin of the final black hole using an NR-inspired fitting formula Calculate the mass and spin of the final black hole using an NR-inspired fitting formula. More... | |
def | P_integrand (chif, Mf, v1, v2, P_Mfchif_i_interp_object, P_Mfchif_r_interp_object) |
Compute the integrand of P(dMf/Mfbar, dchif/chifbar). More... | |
def | calc_sum (Mf, chif, v1, v2, P_Mfchif_i_interp_object, P_Mfchif_r_interp_object) |
def | gf (P) |
def | calc_Mfchif_prior_samples (comp_mass_prior_min, comp_mass_prior_max, comp_spin_min, comp_spin_max, Mf_bins, chif_bins, fit_formula, spin_angle_dist, N_sampl, thread) |
def | calc_Mfchif_prior (comp_mass_prior_min, comp_mass_prior_max, comp_spin_min, comp_spin_max, Mf_bins, chif_bins, fit_formula, spin_angle_dist, N_sampl, num_threads) |
def lalinference.imrtgr.imrtgrutils.calc_final_mass_spin | ( | m1, | |
m2, | |||
chi1, | |||
chi2, | |||
chi1z, | |||
chi2z, | |||
phi12, | |||
fit_formula | |||
) |
calculate the mass and spin of the final black hole using an NR-inspired fitting formula Calculate the mass and spin of the final black hole using an NR-inspired fitting formula.
inputs: m1, m2: initial masses chi1, chi2: initial spin magnitudes chi1z, chi2z: z-components of the initial spins phi12: in-plane angle between initial spins fit_formula: fitting formula to be used for the calculation of final mass/spin
output: mf, chif: final mass, final spin
Definition at line 28 of file imrtgrutils.py.
def lalinference.imrtgr.imrtgrutils.P_integrand | ( | chif, | |
Mf, | |||
v1, | |||
v2, | |||
P_Mfchif_i_interp_object, | |||
P_Mfchif_r_interp_object | |||
) |
Compute the integrand of P(dMf/Mfbar, dchif/chifbar).
inputs: chif: vector of values of final spin Mf: vector of values of final mass v1: dMf/Mfbar value v2: dchif/chifbar value P_Mfchif_i_interp_object: interpolation function of P_i(Mf, chif) P_Mfchif_r_interp_object: interpolation function of P_r(Mf, chif)
output: integrand of P(dMf/Mfbar, dchif/chifbar)
Definition at line 64 of file imrtgrutils.py.
def lalinference.imrtgr.imrtgrutils.calc_sum | ( | Mf, | |
chif, | |||
v1, | |||
v2, | |||
P_Mfchif_i_interp_object, | |||
P_Mfchif_r_interp_object | |||
) |
Definition at line 104 of file imrtgrutils.py.
def lalinference.imrtgr.imrtgrutils.gf | ( | P | ) |
Definition at line 110 of file imrtgrutils.py.
def lalinference.imrtgr.imrtgrutils.calc_Mfchif_prior_samples | ( | comp_mass_prior_min, | |
comp_mass_prior_max, | |||
comp_spin_min, | |||
comp_spin_max, | |||
Mf_bins, | |||
chif_bins, | |||
fit_formula, | |||
spin_angle_dist, | |||
N_sampl, | |||
thread | |||
) |
Definition at line 114 of file imrtgrutils.py.
def lalinference.imrtgr.imrtgrutils.calc_Mfchif_prior | ( | comp_mass_prior_min, | |
comp_mass_prior_max, | |||
comp_spin_min, | |||
comp_spin_max, | |||
Mf_bins, | |||
chif_bins, | |||
fit_formula, | |||
spin_angle_dist, | |||
N_sampl, | |||
num_threads | |||
) |
Definition at line 133 of file imrtgrutils.py.