inmoose.edgepy.movingAverageByCol
- inmoose.edgepy.movingAverageByCol(x, width=5, full_length=True)
Moving average smoother for matrix columns.
- Parameters:
x (array_like) – numeric matrix
width (int) – width of window of rows to be averaged
full_length (bool) – whether the output should have the same number of rows as the input
- Returns:
numeric matrix with smoothed values. If
full_length = True, of same shape asx. Iffull_length = False, haswidth-1fewer rows thanx.- Return type:
ndarray