pybic.ApplyBandpass

pybic.ApplyBandpass(x, fS=1.0, f0=0.25, fband=0.1)[source]

Quick and dirty brickwall bandpass filter.

Parameters:
  • x (ndarray) – Input time-series.

  • fS (float) – Sampling frequency in Hz.

  • f0 (float) – Center frequency (peak of passband).

  • fband (float) – Filter bandwidth.

Returns:

Filtered time-series.

Return type:

ndarray