tricube_moving_average()
Worked examples
Validation
Moving average filter with tricube weights for a time series.
Port of R limma’s tricubeMovingAverage.
tricubeMovingAverage
x (array_like) – 1-D series.
span (float, default 0.5) – Fraction of x to include in the smoothing window (clamped to (0, 1]; values <= 0 return x unchanged).
x
(0, 1]
power (int, default 3) – Power applied to the tricube weights.
Smoothed series of the same length as x.
ndarray