pyudv.helpers.moving_std1d#

moving_std1d(arr, windows, axis=-1, **kwargs)[source]#

Rolling standard deviation on 1 dimension of the input array.

Parameters:
  • arr (array) – Input array

  • windows (int) – windows over wich the standard deviation is calculated.

  • axis (int) – axis along which the standard deviation is calculated. (the default is -1).

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

Returns:

Array of standard deviation

Return type:

array