moving_average

tessilator.lc_analysis.moving_average(x, w)[source]

Calculate the moving average of an array.

Parameters:
xIterable

The input data to be analysed.

wint

The number of data points that the moving average will convolve.

Returns:
znp.array

An array of the moving averages