libtcspc.LostCountsEvent¶
- class libtcspc.LostCountsEvent(numeric_traits=None)[source]¶
Bases:
EventTypeEvent indicating a number of counts that could not be time-tagged.
Should only occur between a
BeginLostIntervalEventand the correspondingEndLostIntervalEvent.- Parameters:
numeric_traits (NumericTraits or None) – Set of integer types parameterising the C++ event.
None(the default) usesNumericTraitsdefaults.
Notes
The corresponding C++ event has fields
abstime,channel, andcount.A value is constructed by giving all fields, e.g.
LostCountsEvent(nt).value(abstime=42, channel=1, count=10); 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::lost_counts_event
The underlying C++ event type.