需要帮助了解哪些值可用于带通滤波

时间:2019-05-30 19:41:13

标签: java bandpass-filter

我在Java中使用this API

简而言之,我正在用Java创建一个GUI,以从数据文件,图形值进行解析,并在数据上应用带通滤波器。

通过所需的API,

kupper - the upper pass band frequency, in cycles per sample.
kwidth - width of the transition between pass and stop bands.
aerror - approximate bound on amplitude error, a positive fraction.

唯一的问题是,我得到了他们希望我使用的一系列无法​​使用的值,

kupper: 2 Hz (can be changed from 1 to 3 Hz)
kwidth: you can try 0 if it works, otherwise the transition width should be less than 1.
aerror: the amplitude error is relative values. You should figure out the scale of the data first (normally 10^-10 or 10^-11) then set the error to 5%.

API指定klower

输入2 Hz作为kupper会给我带来编译错误,因为它大于0.5。有人可以解释在遵守约束的同时如何正确获取我需要的值吗?

0 个答案:

没有答案