I'm using this filter in python:
def bandpass_firwin(ntaps, lowcut, highcut, fs, window='hamming'):
nyq = 0.5 * fs
taps = firwin(ntaps, [lowcut, highcut], nyq=nyq, pass_zero=False,
window=window, scale=False)
where my ntaps=128; lowcut = 0.7 ; highcut = 4 ; fs = 61
I filter my signal which has 610 samples sampled at 61 Hz (so it is 10 sec long).
When I look at the spectrum of the signal which has been filtered by this bandpass filter, I see this:
The peek in this spectrum is at 0.61 Hz. Which is not in the range of 0.7 to 4 Hz.
How is this possible ? & How can I prevent it ?