sit2standpy.mov_stats

sit2standpy.mov_stats(seq, window)

Compute the centered moving average and standard deviation.

Parameters:
seq : numpy.ndarray

Data to take the moving average and standard deviation on.

window : int

Window size for the moving average/standard deviation.

Returns:
m_mn : numpy.ndarray

Moving average

m_st : numpy.ndarray

Moving standard deviation

pad : int

Padding at beginning of the moving average and standard deviation