简体   繁体   English

低频带通滤波

[英]Bandpass filtering at low frequencies

I would like to know if there is any best practice to solve the following problem which I think may be of general interest. 我想知道是否有最佳实践来解决我认为可能具有普遍意义的以下问题。

I have a signal sampled with 40 kHz for about 60s. 我有一个以40 kHz采样的信号,持续了大约60s。 That signal contains frequencies up to 5kHz but I am only interested in its 40 Hz component. 该信号包含高达5kHz的频率,但我只对它的40 Hz分量感兴趣。

How can I get a stable, narrow bandpass filtered (around 40 Hz) signal which also has the same time base as the original signal (zero lag). 如何获得稳定,窄带通滤波(约40 Hz)的信号,该信号也具有与原始信号相同的时基(零滞后)。 The filter should also have a linear phase. 滤波器也应具有线性相位。

Computational efforts are not an issue. 计算工作不是问题。

Design a narrow band pass filter using: https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.iirpeak.html and then implement it on the signal using the a forward-backward filter, filtfilt: https://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.signal.filtfilt.html . 使用以下方法设计窄带通滤波器: https ://docs.scipy.org/doc/scipy/reference/produced/scipy.signal.iirpeak.html,然后使用前后向滤波器filtfilt在信号上实现它: https://docs.scipy.org/doc/scipy-0.14.0/reference/generation/scipy.signal.filtfilt.html

The forward-backward filtering requires sectioning of the signal but you can always produce sections with a large overlap. 前向-后向滤波需要对信号进行分段,但是您始终可以产生重叠较大的分段。

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

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