Skip to content
Snippets Groups Projects
Commit 7cb02364 authored by chad.hanna's avatar chad.hanna
Browse files

Revert "inspiral_lr.py: update denominator dt dphi noise pdf"

This reverts commit 62952454.
parent 5e527685
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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