nnsvs.dsp.lowpass_filter

nnsvs.dsp.lowpass_filter(x, fs, cutoff=5, N=5)[source]

Lowpass filter

Parameters:
  • x (np.ndarray) – input signal

  • fs (int) – sampling rate

  • cutoff (int) – cutoff frequency

Returns:

filtered signal

Return type:

np.ndarray