From 8c9b87d23243d6696754c9c9d3dbb9ad1ad7a6fe Mon Sep 17 00:00:00 2001 From: Chad Hanna <chad.hanna@comp-hd-001.gwave.ics.psu.edu> Date: Fri, 14 Jun 2019 11:20:46 -0400 Subject: [PATCH] templates.py: fix thinkos in bandwidth calculation --- gstlal-inspiral/python/templates.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gstlal-inspiral/python/templates.py b/gstlal-inspiral/python/templates.py index e2824a39b0..c522c4409a 100644 --- a/gstlal-inspiral/python/templates.py +++ b/gstlal-inspiral/python/templates.py @@ -373,10 +373,7 @@ def bandwidth(m1, m2, s1, s2, f_min, f_max, delta_f, psd): def moment(farr, h, n, psd): return fn(farr, h, n, psd) / fn(farr, h, 0, psd) - spin1 = [0., 0., 0.]; spin2 = [0., 0., 0.] - f_min = 10. - f_max = 1024.0 - delta_f = 1.0 + spin1 = [0., 0., s1]; spin2 = [0., 0., s2] farr = numpy.linspace(0, f_max, f_max / delta_f + delta_f) hp, hc = lalsim.SimInspiralFD( m1 * lal.MSUN_SI, m2 * lal.MSUN_SI, -- GitLab