Skip to content
Snippets Groups Projects
Commit 45c79998 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Merge branch 'fix-mass-degeneracy'

parents 021666b7 a23a2794
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment