libtcspc.ChannelMatcher

class libtcspc.ChannelMatcher(channel, numeric_traits=None)[source]

Bases: Matcher

Matcher that matches events whose channel equals a given value.

Parameters:
  • channel (int or Param[int]) – The channel number to match.

  • numeric_traits (NumericTraits or None) – Numeric traits specifying channel_type. Defaults to NumericTraits().

See also

tcspc::channel_matcher

The underlying C++ matcher.