rcatool.stats.arithmetics.run_mean

rcatool.stats.arithmetics.run_mean(x, N, mode='valid')[source]

Calculate running mean

Return running mean of data vector x where N is the window size. mode key word argument describes how the edges should be handled. See numpy.convolve for more information.