tttapa/Arduino-Helpers

High Pass Filters

anwaypimpalkar opened this issue · 0 comments

Hi, I am trying to implement a bandpass filter, equivalent to a Python script of:

data = np.array(readings).astype(np.int64)
b, a = ssig.butter(4, [20, 200], btype="bandpass", fs=fs)
filtered_data = ssig.filtfilt(b, a, data.flatten())

Currently, I'm looking into the Butterworth filter included in this library, but can't find a way to implement any kind of high-pass to daisy-chain it, maybe. Could someone help me understand my options? Thanks.