libtcspc.PeriodicSequenceModelEvent

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

Bases: EventType

Event describing a fitted periodic sequence of timing events.

Emitted by FitPeriodicSequences and consumed and re-emitted by RetimePeriodicSequences; also consumed by ExtrapolatePeriodicSequences and AddCountToPeriodicSequences.

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 fields abstime, delay, and interval.

A value is constructed by giving all fields, e.g. PeriodicSequenceModelEvent(nt).value(abstime=42, delay=1.0, interval=2.0); 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::periodic_sequence_model_event

The underlying C++ event type.