__init__.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:srep 作者: Answeror 项目源码 文件源码
def butter_bandstop_filter(data, lowcut, highcut, fs, order):
    from scipy.signal import butter, lfilter

    nyq = 0.5 * fs
    low = lowcut / nyq
    high = highcut / nyq

    b, a = butter(order, [low, high], btype='bandstop')
    y = lfilter(b, a, data)
    return y
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号