openpiv.filters.gaussian

openpiv.filters.gaussian(u: ndarray, v: ndarray, half_width: int = 1) Tuple[ndarray, ndarray][source]

Smooths the velocity field with a Gaussian kernel.

Parameters
  • u (2d np.ndarray) – the u velocity component field

  • v (2d np.ndarray) – the v velocity component field

  • half_width (int) – the half width of the kernel. Kernel has shape 2*half_width+1, default = 1

Returns

  • uf (2d np.ndarray) – the smoothed u velocity component field

  • vf (2d np.ndarray) – the smoothed v velocity component field