Commit 45c79998 authored by Gregory Ashton's avatar Gregory Ashton

Merge branch 'fix-mass-degeneracy'

parents 021666b7 a23a2794
Pipeline #17453 passed with stages
in 4 minutes and 51 seconds
......@@ -18,6 +18,8 @@ def lal_binary_black_hole(
geocent_time, psi):
""" A Binary Black Hole waveform model using lalsimulation """
luminosity_distance = luminosity_distance * 1e6 * lal.PC_SI
if mass_2 > mass_1:
return {'plus': 0, 'cross': 0}
mass_1 = mass_1 * lal.MSUN_SI
mass_2 = mass_2 * lal.MSUN_SI
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment