smooth

smooth(f, g, axis=None)

Smooth a Function through simple moving average.

Parameters

Name Type Description Default
f Function The left-hand side of the smoothing kernel, that is the smoothed Function. required
g Function The right-hand side of the smoothing kernel, that is the Function being smoothed. required
axis Dimension or list of Dimensions The Dimension along which the smoothing operation is performed. Defaults to f’s innermost Dimension. None

Notes

More info about simple moving average available at: ::

https://en.wikipedia.org/wiki/Moving_average#Simple_moving_average
Back to top