Jump to content
Sign in to follow this  
Gabriel Justo

Script to evaluate butterworth parameters

Recommended Posts

Hello everyone,


I would like to share with the community a script that allows the user to test different parameters of a filter to see if the filtered signal is good or not.


From line 3 to 16 you can edit the parameters to change both the signal and the filter behaviour. After the script finishes it is possible to check the original and the filtered signal, as wall as the FFTs.


Highlighted in yellow are the frequencies of the signal and the plots obtained:



PS: It's also possible to use filtfilt instead of filter to keep the signal phase



Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Create New...