forked from berndporr/fir1
-
Notifications
You must be signed in to change notification settings - Fork 0
Demos
rossGardiner edited this page Mar 31, 2022
·
1 revision
Demo programs are in the "demo" directory which show how to use the filters for both floating point and fixed point.
-
firdemosends an impulse into the filter and you should see the impulse response at its output. -
fixeddemofilters an example ECG with 50Hz noise. The coefficients are 12 bit and you can generate them either with OCTAVE/MATLAB or Python. The scripts are also provided. -
lmsdemofilters out 50Hz noise from an ECG with the help of adaptive filtering by using the 50Hz powerline frequency as the input to the filter. This can be replaced by any reference artefact signal or signal which is correlated with the artefact. - JAVA has an
InstrumentedTestwhich filters both a delta pulse and a step function. - filter_ecg.py performs the filtering of an ECG in python using the fir1 python module which in turn calls internally the C++ functions.