I'm doing basic signal processing in Python. I'm filtering consecutive blocks of a signal with scipy's filtfilt (to get zero phase). I would like to concatenate several blocks after filtering, however, each filtered block doesn't seem to be properly continuous with the other filtered blocks. Is there some way to work this out?
I'd like to note that when I'm doing the same with scipy's lfilter with "Initial Conditions"(zi) parameter being passed to it at each iteration the filtered blocks seems to be continuous.
Any help will be highly appreciated.