libtcspc.BeginLostIntervalEvent¶
- class libtcspc.BeginLostIntervalEvent(numeric_traits=None)[source]¶
Bases:
EventTypeEvent marking the beginning of an interval in which counts were lost.
The interval must be closed with a subsequent
EndLostIntervalEvent. UnlikeDataLostEvent, theabstimeremains consistent before, during, and after the lost interval; detected but un-time-tagged counts during the interval can be reported asLostCountsEvent.- Parameters:
numeric_traits (NumericTraits or None) – Set of integer types parameterising the C++ event.
None(the default) usesNumericTraitsdefaults.
Notes
The corresponding C++ event has the field
abstime.A value is constructed by giving all fields, e.g.
BeginLostIntervalEvent(nt).value(abstime=42); read them back as attributes (inst.abstime).Constructing and inspecting individual event values from Python is intended for debugging and learning only and is extremely slow; production graphs process events in compiled C++ and exchange bulk data via buckets.
See also
- tcspc::begin_lost_interval_event
The underlying C++ event type.