libtcspc.ExtrapolatePeriodicSequences¶
- final class libtcspc.ExtrapolatePeriodicSequences(tick_index, numeric_traits=None)[source]¶
Bases:
NodeProcessor that extrapolates a periodic sequence to a one-shot timing event.
Converts each
PeriodicSequenceModelEventto aRealOneShotTimingEventextrapolated to the given tick index. Other events pass through.- Parameters:
tick_index (int or Param[int]) – Tick index to extrapolate to.
numeric_traits (NumericTraits or None) – Numeric traits for the emitted event. Defaults to
NumericTraits().
Notes
Events handled:
PeriodicSequenceModelEvent: emit aRealOneShotTimingEventextrapolated totick_index.All other event types: pass through unchanged.
End of input: pass through.
See also
- tcspc::extrapolate_periodic_sequences()
The underlying C++ factory function.