当前位置:   article > 正文

python-scipy 生成巴特沃斯带通滤波器_butterbandpassfilter(low1,high1,isamplerate,order=

butterbandpassfilter(low1,high1,isamplerate,order=order1)
#####################################
# 带通滤波,0.5~70hz  
#####################################

def butterBandPassFilter(lowcut, highcut, samplerate, order):
    "生成巴特沃斯带通滤波器"
    semiSampleRate = samplerate*0.5
    low = lowcut / semiSampleRate
    high = highcut / semiSampleRate
    b,a = signal.butter(order,[low,high],btype='bandpass')
    print("bandpass:","b.shape:",b.shape,"a.shape:",a.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/78348
推荐阅读
相关标签
  

闽ICP备14008679号