Commit 1f57dd15 authored by Chad Hanna's avatar Chad Hanna

Revert "normalize the background only using values at likelihood ratios greater than the threshold"

This reverts commit 875a994c.

Has unintended consequence with online FAR estimation. We need to figure out why. For now it is being reverted.
parent 75fad119
Pipeline #53715 passed with stages
in 27 minutes and 6 seconds
......@@ -767,7 +767,6 @@ WHERE
# compute survival probability model from best fit
survival_probability = mk_survival_probability(rate_eff, m)
self.noise_lr_lnpdf.array[:self.noise_lr_lnpdf.bins[0][mode]] = 0.
# apply to background counts and signal counts
self.noise_lr_lnpdf.array *= survival_probability
self.noise_lr_lnpdf.normalize()
......
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