ezmsg.sigproc.downsample#
Functions
Classes
- class Downsample(*args, settings=None, **kwargs)[source]#
Bases:
BaseTransformerUnit[DownsampleSettings,AxisArray,AxisArray,DownsampleTransformer]- Parameters:
settings (Settings | None)
- SETTINGS#
alias of
DownsampleSettings
- class DownsampleSettings(axis='time', target_rate=None, factor=None)[source]#
Bases:
SettingsSettings for
Downsamplenode.- target_rate: float | None = None#
Desired rate after downsampling. The actual rate will be the nearest integer factor of the input rate that is the same or higher than the target rate.
- class DownsampleTransformer(*args, **kwargs)[source]#
Bases:
BaseStatefulTransformer[DownsampleSettings,AxisArray,AxisArray,DownsampleState]Downsampled data simply comprise every factor`th sample. This should only be used following appropriate lowpass filtering. If your pipeline does not already have lowpass filtering then consider using the :obj:`Decimate collection instead.
- class DownsampleSettings(axis='time', target_rate=None, factor=None)[source]#
Bases:
SettingsSettings for
Downsamplenode.- target_rate: float | None = None#
Desired rate after downsampling. The actual rate will be the nearest integer factor of the input rate that is the same or higher than the target rate.
- class DownsampleTransformer(*args, **kwargs)[source]#
Bases:
BaseStatefulTransformer[DownsampleSettings,AxisArray,AxisArray,DownsampleState]Downsampled data simply comprise every factor`th sample. This should only be used following appropriate lowpass filtering. If your pipeline does not already have lowpass filtering then consider using the :obj:`Decimate collection instead.
- class Downsample(*args, settings=None, **kwargs)[source]#
Bases:
BaseTransformerUnit[DownsampleSettings,AxisArray,AxisArray,DownsampleTransformer]- Parameters:
settings (Settings | None)
- SETTINGS#
alias of
DownsampleSettings