简体   繁体   English

如何获得特定频段的一致性

[英]How to get coherence for specific frequency band

using python scipy.signal.coherence I get an array of sample frequencies and an array of corresponding coherence to these frequencies. 使用python scipy.signal.coherence我得到一个采样频率数组和一系列对应这些频率的相干性。

https://docs.scipy.org/doc/scipy-0.18.1/reference/generated/scipy.signal.coherence.html https://docs.scipy.org/doc/scipy-0.18.1/reference/generated/scipy.signal.coherence.html

Now, what I do if I want just one value of coherence for a specific frequency band? 现在,如果我想要一个特定频段的一致性值,我会怎么做? Do I simply average corresponding values from coherence array or is it more complicated? 我是否只是从相干数组中平均相应的值,还是更复杂?

Thanks for any comments on this! 感谢您的任何评论!

Answering myself, yes it's that simple. 回答自己,是的就是这么简单。 The average value of coherence from a specific range (selected frequency) does the job. 从特定范围(选定频率)的一致性的平均值完成工作。

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

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