python巴特沃斯滤波器_butterworth-实时数字巴特沃斯IIR滤波器-Kei Imada
作者:Kei Imada
### 作者郵箱:kimada1@swarthmore.edu
### 首頁:https://github.com/keikun555/butter
### 文檔:None
### 下載鏈接
butter
Python implementation of the digital butterworth IIR filter
Dependencies
numpy -- used for its math modules and fast array calculations
numba -- used to increase calculation speed
Basic Usage
Importing the Butter module::
from butterworth import Butter
Creating the Butter instance for a lowpass butterworth filter with cutoff frequency 1000Hz and rolloff frequency 48Hz for data taken with sampling frequency 44100::
filter_ = Butter(btype="Lowpass", cutoff=1000, rolloff=48, sampling=44100)
Sending sample data into filter and retrieving the filtered data::
data=[1.0, -2.0, 3.0, . . . .] filtereddata = filter.send(data)
Retrieving forward-backward filtered data for the accumulated data::
data1=[1.0, -2.0, 3.0, . . . .] filtereddata = filter.send(data1) data2=[-1.0, 2.0, -3.0, . . . .] morefiltereddata = filter.send(data2) forwardbackwardsfiltereddata = filter_.filtfilt()
Copy from pypi.org
總結
以上是生活随笔為你收集整理的python巴特沃斯滤波器_butterworth-实时数字巴特沃斯IIR滤波器-Kei Imada的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: pcb钻孔披锋改善报告_PCB 外层孔破
- 下一篇: 分享一些Python爬虫实例项目