Notch#

class myoverse.transforms.Notch(freq, width=2.0, fs=2048.0, dim='time', **kwargs)[source]#

Notch filter using FFT (GPU-accelerated).

Removes a specific frequency (e.g., powerline interference at 50/60 Hz). Uses FFT-based approach which provides sharp, precise frequency removal ideal for narrow-band interference like powerline noise.

Parameters:
  • freq (float) – Center frequency to remove in Hz.

  • width (float) – Width of the notch in Hz (default: 2 Hz).

  • fs (float) – Sampling frequency in Hz.

  • dim (str) – Dimension to filter over.

Methods

__init__(freq[, width, fs, dim])

_apply(x)

Apply the transform.