libtcspc.RecoverOrder¶
- final class libtcspc.RecoverOrder(time_window, numeric_traits=None)[source]¶
Bases:
NodePass-through processor that sorts events by abstime within a time window.
Buffers events and emits them in non-decreasing
abstimeorder once each is at leasttime_windowbehind the latest received event. If an event arrives that is older than the latest by more thantime_window, an error is raised.- Parameters:
time_window (int or Param[int]) – Maximum abstime range over which events may be out of order. Must be non-negative.
numeric_traits (NumericTraits or None) – Numeric traits specifying
abstime_type. Defaults toNumericTraits().
Notes
Events handled:
All event types with an
abstimefield: buffered and forwarded inabstimeorder oncetime_windowhas elapsed.End of input: emit any buffered events in
abstimeorder; pass through.
See also
- tcspc::recover_order()
The underlying C++ factory function.