Commit 00d7c953 authored by Adam Mercer's avatar Adam Mercer
Browse files

Merge branch 'fix_coinc_bug' into 'master'

Fix coinc bug

See merge request !338
parents d2e60100 dc843844
Pipeline #24062 passed with stages
in 158 minutes and 57 seconds
......@@ -132,7 +132,7 @@ if options.coincidence_segments is not None:
# for the purposes of the coinc segs feature, the coinc
# time is minimum of event peak times. this is a fast, and
# guaranteed reproducible definition
return len(events) < min_instruments or min(event.peak for event in events) not in coinc_segs
return len(events) < min_instruments or min(event.peak + offset_vector[event.ifo] for event in events) not in coinc_segs
else:
def coinc_segs_ntuple_comparefunc(events, offset_vector, min_instruments = options.min_instruments):
return len(events) < min_instruments
......
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