libtcspc.TimeCorrelateAtMidpoint¶
- final class libtcspc.TimeCorrelateAtMidpoint(use_start_channel=False, numeric_traits=None)[source]¶
Bases:
NodeProcessor that time-correlates detection pairs using the midpoint time.
The emitted
abstimeis the midpoint between the start and stop detections; thechannelis taken from the stop detection by default, or the start detection ifuse_start_channelis true.- Parameters:
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_midpoint()
The underlying C++ factory function.