基于残差分析的滤波器最佳截止频率自动搜索

optcutfreq的Python项目详细描述


optcutfreq

基于残差分析的滤波器最佳截止频率自动搜索

通过对截止频率范围内滤波和未滤波信号之间的差异进行残差分析,可以找到“最佳”截止频率(在这种意义上,具有这种截止频率的滤波器可以在不显著影响信号的情况下去除尽可能多的噪声。
最佳截止频率是指残差开始变化很小的频率,因为从这一点来看,理想情况下,它被过滤的主要是噪声和最小的信号。在

安装

pip install optcutfreq

或者

^{pr2}$

示例

>>>y=np.cumsum(np.random.randn(1000))>>># optimal cutoff frequency based on residual analysis and plot:>>>fc_opt=optcutfreq(y,freq=1000,show=True)>>># sane analysis but specifying the frequency limits and plot:>>>optcutfreq(y,freq=1000,fclim=[200,400],show=True)>>># It's not always possible to find an optimal cutoff frequency>>># or the one found can be wrong (run this example many times):>>>y=np.random.randn(100)>>>optcutfreq(y,freq=100,show=True)

如何引用这部作品

以下是引用GitHub存储库的建议:

Duarte, M. (2020) optcutfreq: Automatic search of optimal filter cutoff frequency based on residual analysis. GitHub repository, https://github.com/demotu/optcutfreq.

以及可能的BibTeX入口:

@misc{Duarte2020,  
    author = {Duarte, M.},
    title = {optcutfreq: Automatic search of optimal filter cutoff frequency based on residual analysis},  
    year = {2020},  
    publisher = {GitHub},  
    journal = {GitHub repository},  
    howpublished = {\url{https://github.com/demotu/optcutfreq}}}

许可证

此项目的非软件内容在Creative Commons Attribution 4.0 International License下授权,软件代码在MIT license下授权。在

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java JavaFX触控事件未触发Ubuntu 20.04触控笔记本电脑   java如何在AWT中关闭窗口?   java Dagger 2:注入具有构造函数参数的成员   创建对象的Java调用类   对象我想在A.java中添加两个数字,并在B.java中打印结果(如何?)   java如何使用AWS SDK for Android从数字海洋空间下载图像?   java Facebook sdk 4.0.1无法使用Android studio获取某些字段   4分钟后web应用程序(Angular 8和Rest API)中的java自动会话超时   在Eclipse for Java EE developers edition中禁用HTML警告   java按字母顺序排列字符串我错过了什么明显的东西吗?   java在Jshell中println和printf有什么不同