pnpl.preprocessing.NotchFilter

pnpl.preprocessing.NotchFilter#

class pnpl.preprocessing.NotchFilter(step_name='notch', freqs=<factory>)[source]#

Apply notch filter to remove line noise.

Parameters:
  • freqs (List[float]) – Frequencies to notch out (default: [50, 100] Hz for Europe)

  • step_name (str)

__init__(step_name='notch', freqs=<factory>)#
Parameters:
  • step_name (str)

  • freqs (List[float])

Return type:

None

Methods

__init__([step_name, freqs])

apply(raw, context)

Apply this preprocessing step to raw data.

Attributes

step_name

freqs