Skip to content
Snippets Groups Projects
Commit 14cf8072 authored by chad.hanna's avatar chad.hanna Committed by Kipp Cannon
Browse files

inspiral_lr.py: add a single detector penalty of -5 for the log LR

parent ddb72c79
No related branches found
No related tags found
No related merge requests found
......@@ -357,6 +357,12 @@ class LnSignalDensity(LnLRDensity):
except ValueError:
return NegInf
# FIXME NOTE
# Here we put in a penalty for single detector triggers.
# Motivated sort of by the coincidence probability.
if len(snrs) == 1:
lnP -= 5
# evaluate population model
lnP += self.population_model.lnP_template_signal(template_id, max(snrs.values()))
......
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