libtcspc.PeriodicSequenceModelEvent¶
- class libtcspc.PeriodicSequenceModelEvent(numeric_traits=None)[source]¶
Bases:
EventTypeEvent describing a fitted periodic sequence of timing events.
Emitted by
FitPeriodicSequencesand consumed and re-emitted byRetimePeriodicSequences; also consumed byExtrapolatePeriodicSequencesandAddCountToPeriodicSequences.- 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 fields
abstime,delay, andinterval.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.