libtcspc.RecordAbstimeRange¶
- final class libtcspc.RecordAbstimeRange(access_tag, numeric_traits=None)[source]¶
Bases:
NodeProcessor that records the range of
abstimeobserved.The minimum and maximum
abstimeof all abstime-stamped events seen so far can be retrieved at any time during execution via theRecordAbstimeRangeAccessorretrieved from theExecutionContextusingaccess_tag.- Parameters:
access_tag (AccessTag) – Tag used to retrieve a
RecordAbstimeRangeAccessorfrom theExecutionContextat runtime.numeric_traits (NumericTraits or None) – The numeric traits whose
abstime_typemust match theabstimefield type of the abstime-stamped events passing through.None(the default) usesNumericTraitsdefaults.
Notes
Events handled:
Events with an
abstimefield: update the running minimum and maximum, then pass through.All other event types: pass through unchanged.
End of input: pass through.
See also
- tcspc::record_abstime_range()
The underlying C++ factory function.
RecordAbstimeRangeAccessorRuntime accessor providing
min()andmax().