📅  最后修改于: 2022-03-11 14:45:48.881000             🧑  作者: Mango
# Filter data along one-dimension with an IIR or FIR filter.
from scipy.signal import lfilter
out = lfilter(b, a, data, axis=0)
out = lfilter(b, a, np.squeeze(data))