libtcspc.ChannelDataMapper

class libtcspc.ChannelDataMapper(numeric_traits=None)[source]

Bases: DataMapper

Data mapper that maps the channel field to the datapoint value.

The mapped event must have a channel field.

Parameters:

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

See also

tcspc::channel_data_mapper

The underlying C++ data mapper.