statsmodels.tsa.filters.filtertools.convolution_filter
statsmodels.tsa.filters.filtertools.convolution_filter(x, filt, nsides=2) [source]
Linear filtering via convolution. Centered and backward displaced moving weighted average. Parameters:
x : array_like data array, 1d or 2d, if 2d then observations in rows filt : array_like Linear filter coefficients in reverse time-order. Should have the same number of dimensions as x though if 1d and x is 2d will be coerced to 2d. nsides : int, opti