Skip to content
Snippets Groups Projects
Commit d713ccbc authored by Alvin Li's avatar Alvin Li Committed by Surabhi Sachdev
Browse files

Add offset to latency (line 390) in streamthinca.py

parent fce23184
No related branches found
No related tags found
1 merge request!371Add offset to latency (line 390) in streamthinca.py
Pipeline #523707 passed with warnings
......@@ -387,7 +387,8 @@ class StreamThinca(object):
self.clustered_sngl_ids |= set(e.event_id for e in events)
if template_id_time_map is not None:
# The same template should have the same offset regardless of ifo, so just take the first one
offset = [template_id_time_map[int(sngl_trigger.Gamma0)] for sngl_trigger in events][0]
offset = [template_id_time_map[sngl_trigger.template_id] for sngl_trigger in events][0]
coinc_inspiral.minimum_duration += offset #Add offset to latency
row = [row for row in self.process_params_table if row.param == u'--upload-time-before-merger'][0]
row.value=str(offset)
......
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