From 8b5f6f4f36d2c5e5a76e05c6db47a680c0099466 Mon Sep 17 00:00:00 2001
From: "chad.hanna" <crh184@psu.edu>
Date: Wed, 19 Sep 2018 03:42:13 -0700
Subject: [PATCH] streamthinca, far: REVERT ME: A temporary home for the
 network snr cut which undoes the LR version and puts it back into the ntuple
 compare func. Once we have ironed out the kinks in the LR version, this
 should be undone

---
 gstlal-inspiral/python/far.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gstlal-inspiral/python/far.py b/gstlal-inspiral/python/far.py
index 6961ba0e34..997d314271 100644
--- a/gstlal-inspiral/python/far.py
+++ b/gstlal-inspiral/python/far.py
@@ -137,9 +137,12 @@ class RankingStat(snglcoinc.LnLikelihoodRatioMixin):
 		self.zerolag = inspiral_lr.LnLRDensity(template_ids = template_ids, instruments = instruments, delta_t = delta_t, min_instruments = min_instruments)
 
 	def __call__(self, **kwargs):
+		# FIXME FIXME FIXME This fast path should be reenabled when we
+		# know it scales well.  It is currently implemented in the
+		# streamthinca ntuple compare func
 		# fast-path:  network SNR cut
-		if sum(snr**2. for snr in kwargs["snrs"].values()) < self.network_snrsq_threshold:
-			return NegInf
+		#if sum(snr**2. for snr in kwargs["snrs"].values()) < self.network_snrsq_threshold:
+		#	return NegInf
 		# full ln L ranking stat.  we define the ranking statistic
 		# to be the largest ln L from all allowed subsets of
 		# triggers
-- 
GitLab