DiFi++ is a small c++ header-only library for DIgital FIlters based on rational transfer functions such as the butterworth filter and the moving average filter
 
 
 
Go to file
Vincent Samy 06c70f4ef0 Copy header files into the nclude folder 2019-01-04 17:58:46 +09:00
cmake@6ccc9f9b2a Initial commit with generic filter 2018-10-23 10:16:10 +09:00
doc Add docs. 2019-01-04 17:15:03 +09:00
include Copy header files into the nclude folder 2019-01-04 17:58:46 +09:00
tests Licensing and renaming. 2019-01-04 17:45:22 +09:00
.gitmodules Initial commit with generic filter 2018-10-23 10:16:10 +09:00
CMakeLists.txt Licensing and renaming. 2019-01-04 17:45:22 +09:00
LICENSE Licensing and renaming. 2019-01-04 17:45:22 +09:00
README.md Licensing and renaming. 2019-01-04 17:45:22 +09:00

README.md

DiFi++

License BSD 3-Clause

DiFi++ is a small c++ header-only library for DIgital FIlters based on rational transfer functions such as the butterworth filter and the moving average filter. DiFi++ is using the Eigen library for math computations.

The implementation is based on well written article from Neil Robertson. Please check out the followings

The library has been tested against Matlab results.

A doxygen documentation is generated when compiling.

Installing

This is an header-only library so there is nothing to compile (but the documentation)

git clone --recursive https://github.com/vsamy/DiFi++
cd DiFi++
mkdir build
cd build
cmake ..
make install

Note

The method used is close but somewhat different from Matlab methods and Butterworth band-reject has quite different results (precision of 1e-8).