There will be maintenance performed on,,, and starting at 9am PDT on Tuesday 18th August 2020. There will be an extremely small period of downtime at the start of the maintenance window as various services are restarted. Please address any comments, questions, or concerns to

Commit 5e1b79bb authored by Chad Hanna's avatar Chad Hanna, only provide sub-threshold snr time series if..., only provide sub-threshold snr time series if the detector is on at coalescence (Jolien's review request)
parent b0ba36a4
Pipeline #54740 passed with stages
in 25 minutes and 18 seconds
......@@ -578,7 +578,7 @@ class GracedBWrapper(object):
self.__upload_aux_data(message, filename, tag, fobj.getvalue(), gracedb_ids)
del fobj
def do_alerts(self, last_coincs, psddict, rankingstat_xmldoc_func):
def do_alerts(self, last_coincs, psddict, rankingstat_xmldoc_func, seglistdicts):
gracedb_ids = []
# no-op short circuit
......@@ -653,7 +653,11 @@ class GracedBWrapper(object):
# for the highest peak that is coincident with all
# other triggers
event_ifos = [event.ifo for event in last_coincs.sngl_inspirals(coinc_event.coinc_event_id)]
triggerless_ifos = [ifo for ifo in self.instruments if ifo not in event_ifos]
# FIXME not the best way to do this and also not
# gauranteed to work if we change segment names. only
# consider ifos that are "on" at this time, i.e., in
# seglistdicts["whitehtsegments"][ifo]
triggerless_ifos = [ifo for ifo in self.instruments if ifo not in event_ifos and end_time in seglistdicts["whitehtsegments"][ifo]]
subthreshold_events = []
# FIXME Add logic to take highest network snr set of triggers when more than 1 sub-threshold trigger
for ifo in triggerless_ifos:
......@@ -1337,7 +1337,7 @@ class Handler(simplehandler.Handler):
assert self.fapfar is not None
# do alerts
self.gracedbwrapper.do_alerts(last_coincs, self.psds, self.__get_rankingstat_xmldoc)
self.gracedbwrapper.do_alerts(last_coincs, self.psds, self.__get_rankingstat_xmldoc, self.segmentstracker.seglistdicts)
def web_get_sngls_snr_threshold(self):
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