Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 755 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 755 Bytes

filtfilt

A zero-phase digital filtering implementation in Python.
This repository is just to re-implement the scipy.signal.filtfilt() in pure Python.

Usage

If you only want to run the function filtfilt() without tests:

poetry install --no-dev

If you also want to run the tests:

poetry install

After installing all necessary dependencies, run:

pytest

Or read your own data, get b and a, and then pass into filtfilt().

Note

For simplification,

  1. 1D array support only.
  2. Padding method support only.

Reference

scipy.signal.filtfilt
linear filter