libtcspc.TimeCorrelateAtFraction¶
- final class libtcspc.TimeCorrelateAtFraction(fraction, use_start_channel=False, numeric_traits=None)[source]¶
Bases:
NodeProcessor that time-correlates detection pairs at a fractional position.
The emitted
abstimeis interpolated between the start and stop detections at the givenfraction; thechannelis taken from the stop detection by default, or the start detection ifuse_start_channelis true.- Parameters:
fraction (float or Param[float]) – Position between the start (0.0) and stop (1.0) detections.
use_start_channel (bool) – If
True, use the start detection’s channel. DefaultFalse.numeric_traits (NumericTraits or None) – Numeric traits for the emitted events. Defaults to
NumericTraits().
Notes
Events handled:
All other event types: pass through unchanged.
End of input: pass through.
See also
- tcspc::time_correlate_at_fraction()
The underlying C++ factory function.