Skip to content
Snippets Groups Projects

Plot horizon distance from ranking statistics

Merged ChiWai Chan requested to merge plot_psd_horizon into master
1 unresolved thread
1 file
+ 7
7
Compare changes
  • Side-by-side
  • Inline
@@ -1156,13 +1156,13 @@ class LLOIDTracker:
# so that the "how many instruments were on test"
# is aware of this buffer.
snr_min = self.rankingstat.snr_min
for instrument in instruments:
# FIXME At the moment, empty triggers are added to
# inform the "how many instruments were on test", the
# correct thing to do is probably to add metadata to
# the buffer containing information about which
# instruments were on
self.rankingstat.denominator.triggerrates[instrument].add_ratebin(list(map(float, buf_seg[instrument])), len([event for event in events if event.snr >= snr_min and event.ifo == instrument and event.search == "signal_model"]))
for instrument in instruments:
# FIXME At the moment, empty triggers are added to
# inform the "how many instruments were on test", the
# correct thing to do is probably to add metadata to
# the buffer containing information about which
# instruments were on
self.rankingstat.denominator.triggerrates[instrument].add_ratebin(list(map(float, buf_seg[instrument])), len([event for event in events if event.snr >= snr_min and event.ifo == instrument and event.search == "signal_model"]))
# FIXME At the moment, empty triggers are added to
# inform the "how many instruments were on test", the
Loading