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

streamthinca, far: REVERT ME: A temporary home for the network snr cut which...

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
parent 8b5f6f4f
No related branches found
No related tags found
No related merge requests found
......@@ -252,6 +252,11 @@ class StreamThinca(object):
# safely discard them.
def ntuple_comparefunc(events, offset_vector, seg = segments.segment(self.last_boundary - self.coincidence_back_off, boundary - self.coincidence_back_off)):
# False/0 = keep, True/non-0 = discard
# FIXME FIXME FIXME. Hardcodes a network SNR threshold
# of 7. This will be removed and a more permanent
# solution will be sought in the likelihood code
if sum(e.snr**2 for e in events) < 49.:
return True
return min(event.end for event in events) not in seg
# find coincs.
......
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