libtcspc.RealLinearTimingEvent¶
- class libtcspc.RealLinearTimingEvent(numeric_traits=None)[source]¶
Bases:
EventTypeEvent describing a linear (repeating) sequence of timings.
Emitted by
AddCountToPeriodicSequences. Can be used as the trigger pattern forGeneratewith a dynamic linear timing generator.- 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,interval, andcount.A value is constructed by giving all fields, e.g.
RealLinearTimingEvent(nt).value(abstime=42, delay=1.0, interval=2.0, 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::real_linear_timing_event
The underlying C++ event type.