Commit 302bb6c2 authored by Kipp Cannon's avatar Kipp Cannon

TimeSlideGraph.push(): report graph state change

parent c990184a
......@@ -862,10 +862,16 @@ class TimeSlideGraph(object):
of events is known to be complete. That is, in the future
no new events will be pushed whose times are earlier than
Returns True if the graph state has changed in a way that
might allow new candidates to be constructed, False if it
is not possible for new candidates to be constructed.
t_before = self.t_coinc_complete
for node in self.head:
if instrument in node.offset_vector:
node.push(instrument, events, t_complete)
return self.t_coinc_complete != t_before
def pull(self, threshold_data, newly_used = None, flushed = None, flushed_unused = None, flush = False, coinc_sieve = (lambda events: False), verbose = False):
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment