·Python signal filtering (based on SCIPY)

 

Personal website –> www.yansongsong.cn

GitHub homepage –> github.com/xiaosongshi…

1. Background

 

In deep learning, Matlab is sometimes used for filtering, and then the processed data is fed into the neural network. This is the general processing method, but the processing is a little cumbersome, and sometimes the system is difficult to run Matlab. Python, as a very powerful language, supports signal filtering.

This paper will use Python to realize simple filtering processing based on SCIPY module in the form of actual combat, including 1. Low pass filter, 2. High pass filter, 3. Band pass filter, 4. You can refer to college courses, signals and systems. A simple understanding is that low-pass filtering refers to the removal of signals higher than a certain threshold frequency; High-pass filtering removes signals below a certain frequency; Band-pass filtering is similar to the combination of low-pass and high-pass to retain intermediate frequency signals; Band stop filtering is also a combination of low pass and high pass but it filters out the middle part. The above