def movmean(x, windowsize=3, lag='lagged'):
 return movmoment(x, 1, windowsize=windowsize, lag=lag)

def movmean ( x , windowsize = 3 , lag = 'lagged' ) : return movmoment ( x , 1 , windowsize = windowsize , lag = lag )
moving window mean parameters x : array time series data windsize : int window size lag : lagged .