libtcspc.LostCountsEvent

class libtcspc.LostCountsEvent(numeric_traits=None)[source]

Bases: EventType

Event indicating a number of counts that could not be time-tagged.

Should only occur between a BeginLostIntervalEvent and the corresponding EndLostIntervalEvent.

Parameters:

numeric_traits (NumericTraits or None) – Set of integer types parameterising the C++ event. None (the default) uses NumericTraits defaults.

Notes

The corresponding C++ event has fields abstime, channel, and count.

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.