简体   繁体   English

是否有与 Matlab 的高通函数等效的 python?

[英]Is there a python equivalent to Matlab's highpass function?

I am replicating an old code I had written in matlab which involves filtering signals using Matlab's highpass function ( https://www.mathworks.com/help/signal/ref/highpass.html ).我正在复制我在 matlab 中编写的旧代码,其中涉及使用 Matlab 的高通函数( https://www.mathworks.com/help/signal/ref/highpass.html )过滤信号。 Can anyone refer me to a python-equivalent to this function if one exists?如果存在,任何人都可以向我推荐与此功能等效的python吗? If not, are there any references online so that I can maybe code this function myself?如果没有,是否有任何在线参考资料,以便我可以自己编写此功能? Anything helps :) Thank you!任何帮助:) 谢谢!

Not exactly the same, but for simple highpass filtering is enough: ( https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.butter.html ).不完全相同,但对于简单的高通滤波就足够了:( https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.butter.html )。

Care if using filter order N > 10 , it had some issues.注意是否使用过滤器顺序N > 10 ,它有一些问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM