libtcspc.PairOneBetween¶
- final class libtcspc.PairOneBetween(start_channel, stop_channels, time_window, numeric_traits=None)[source]¶
Bases:
NodeProcessor that pairs starts with one stop per channel before the next start.
Like
PairOne, but only stop detections occurring before the next start detection are considered.- Parameters:
start_channel (int or Param[int]) – Channel of the start detections.
stop_channels (Sequence[int]) – Channels of the stop detections.
time_window (int or Param[int]) – Maximum abstime difference for a pair (must be non-negative).
numeric_traits (NumericTraits or None) – Numeric traits for the events. Defaults to
NumericTraits().
Notes
Events handled:
Detection events: paired as described above, emitting a
DetectionPairEventfor each resulting pair.All input events: pass through unchanged.
End of input: pass through; unpaired buffered start detections are discarded.
See also
- tcspc::pair_one_between()
The underlying C++ factory function.