pyudv.helpers.moving_std#

moving_std(arr, size, **kwargs)[source]#

Rolling standard deviation on n-dimensional arrays.

Parameters:
  • arr (array) – Input array

  • size (int) – The sizes of the uniform filter are given for each axis as a sequence, or as a single number, in which case the size is equal for all axes.

  • **kwargs – Optional parameters passed to scipy.ndimage.uniform_filter

Returns:

Array of standard deviation

Return type:

array