From 7cb0236441985179bba13bbd2f406e47d914b51c Mon Sep 17 00:00:00 2001 From: "chad.hanna" <crh184@psu.edu> Date: Sat, 17 Nov 2018 18:05:54 -0800 Subject: [PATCH] Revert "inspiral_lr.py: update denominator dt dphi noise pdf" This reverts commit 62952454c0354bdf7f0fa598ff12cd30d4aedb60. --- gstlal-inspiral/python/stats/inspiral_lr.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/gstlal-inspiral/python/stats/inspiral_lr.py b/gstlal-inspiral/python/stats/inspiral_lr.py index 13e4e77844..58f9ceabd7 100644 --- a/gstlal-inspiral/python/stats/inspiral_lr.py +++ b/gstlal-inspiral/python/stats/inspiral_lr.py @@ -729,15 +729,8 @@ class LnNoiseDensity(LnLRDensity): lnP += self.coinc_rates.lnP_instruments(**triggers_per_second_per_template)[frozenset(snrs)] # evaluate dt and dphi parameters - # NOTE: this assumes uniform in dt and dphi. The dt part is - # approximate and should be detector dependent and involve a - # slightly intracate calculation since coincidence must be - # mutual, but we igore that in this normalization and get it - # close enough. - # ( 1 / \Deta T ) ( 1 / \Delta \phi) for each detector - # hardcode \Delta T = 20 ms - # - lnP += (1. / 0.020 * 1. / (2. * numpy.pi))**(len(snrs) - 1) + # NOTE: uniform and normalized so that the log should be zero, but there is no point in doing that + # lnP += 0 # evaluate the rest interps = self.interps -- GitLab