Getting NaN while using The ButterWorth Band Pass Filter #47
-
I'm trying to use the ButterWorth filters to make a band pass filter. But for some reason I keep getting NaN as the result. I've tried it with the Process() function doing it float by float (this is the first implementation below) and all at once with the ApplyTo() method on a Signal (the second Implementation below). Both give me a list of NaN. I'm not sure what I'm doing wrong. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! Frequencies are normalized onto [0, 0.5] range. So you need to divide them by If you worked with sciPy/MATLAB before, you'll also probably find this page useful. Hope it helps. |
Beta Was this translation helpful? Give feedback.
Hi!
Frequencies are normalized onto [0, 0.5] range. So you need to divide them by
fs
(not byfs/2
). See here.If you worked with sciPy/MATLAB before, you'll also probably find this page useful.
Hope it helps.