kopia lustrzana https://github.com/vsamy/DiFipp
5db13b6c0f
Use a variable template to set PI. |
||
---|---|---|
cmake@6ccc9f9b2a | ||
doc | ||
include | ||
tests | ||
.gitmodules | ||
CMakeLists.txt | ||
LICENSE | ||
README.md |
README.md
DiFi++
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
- https://www.dsprelated.com/showarticle/1119.php
- https://www.dsprelated.com/showarticle/1135.php
- https://www.dsprelated.com/showarticle/1128.php
- https://www.dsprelated.com/showarticle/1131.php
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).