libtcspc.RebaseAbstime¶
- final class libtcspc.RebaseAbstime(numeric_traits=None)[source]¶
Bases:
NodePass-through processor that shifts abstime so the first event is at zero.
Subtracts the abstime of the first event seen from every event’s abstime, so that downstream processing sees an abstime starting at zero. Wrap-around is handled correctly even if
abstime_typeis a signed integer type.- Parameters:
numeric_traits (NumericTraits or None) – Numeric traits specifying
abstime_type. Defaults toNumericTraits().
Notes
Events handled:
All event types with an
abstimefield: pass through withabstimemade relative to the first event.End of input: pass through.
See also
- tcspc::rebase_abstime()
The underlying C++ factory function.
DelayOffset event abstimes by a constant delta.