it is my first question in stack.
For EEG filters I try to use lfilter from spicy by the next function:
def butter_lowpass_filter(data):
b, a = butter(3, 0.05)
y = lfilter(b, a, data)
return y
but every time when calling function and send data by NumPy massive to the function, I receive the result that starts from zero. Why Butterworth filter every time from 0, I need measure in real-time.
Here, already trying to decide this problem, but without result. How to filter/smooth with SciPy/Numpy?
it is not good for me, because i every time receive the next picture enter image description here