Skip to content
Snippets Groups Projects
Commit 45c1ee14 authored by Soichiro Kuwahara's avatar Soichiro Kuwahara
Browse files

streamburca:

in StreamBurca, build coinc row at once.  allows code to work with CoincTables classes that don't populate the coinc_burst table
parent 43d41cdc
No related branches found
No related tags found
No related merge requests found
......@@ -112,12 +112,7 @@ class StreamBurca(object):
flushed_unused = []
for node, events in self.time_slide_graph.pull(newly_reported = newly_reported, flushed = flushed, flushed_unused = flushed_unused, coinc_sieve = coinc_sieve, event_collector = self.backgroundcollector, flush = flush, verbose = False):
# construct row objects for coinc tables
coinc, coincmaps, coinc_burst = self.coinc_tables.coinc_rows(self.process_id, node.time_slide_id, events, u"sngl_burst")
# finally, append coinc to tables
self.coinc_tables.append_coinc(coinc, coincmaps, coinc_burst)
self.coinc_tables.append_coinc(*self.coinc_tables.coinc_rows(self.process_id, node.time_slide_id, events, u"sngl_burst"))
# add singles into the noise model
if flushed and noninjections:
......
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