libtcspc.BeginLostIntervalEvent

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

Bases: EventType

Event marking the beginning of an interval in which counts were lost.

The interval must be closed with a subsequent EndLostIntervalEvent. Unlike DataLostEvent, the abstime remains consistent before, during, and after the lost interval; detected but un-time-tagged counts during the interval can be reported as LostCountsEvent.

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 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.