ezmsg.event.binned#
Classes
- class BinnedEventAggregator(*args, **kwargs)[source]#
Bases:
BaseStatefulTransformer[BinnedEventAggregatorSettings,AxisArray,AxisArray,BinnedEventAggregatorState]
- class BinnedEventAggregatorSettings(bin_duration: float = 0.05, scale_output: bool = True, axis: str = 'time')[source]#
Bases:
Settings- bin_duration: float = 0.05#
Duration of each bin in seconds. This is the time interval over which events will be counted.
- class BinnedEventAggregatorUnit(*args, settings=None, **kwargs)[source]#
Bases:
BaseTransformerUnit[BinnedEventAggregatorSettings,AxisArray,AxisArray,BinnedEventAggregator]- Parameters:
settings (Settings | None)
- SETTINGS#
alias of
BinnedEventAggregatorSettings