pnpl.preprocessing.Downsample

pnpl.preprocessing.Downsample#

class pnpl.preprocessing.Downsample(step_name='ds', sfreq=250.0)[source]#

Downsample the data.

Parameters:
  • sfreq (float) – Target sampling frequency (default: 250 Hz)

  • step_name (str)

__init__(step_name='ds', sfreq=250.0)#
Parameters:
  • step_name (str)

  • sfreq (float)

Return type:

None

Methods

__init__([step_name, sfreq])

apply(raw, context)

Apply this preprocessing step to raw data.

Attributes

sfreq

step_name