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 as x. If full_length = False, has width-1 fewer rows than x.

Return type:

ndarray