Filtre Matlab dans Python

# 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))
Fusinato