myimagelib.corrLib.vorticity

myimagelib.corrLib.vorticity(pivData, step=None, shape=None)

Compute vorticity field based on piv data (x, y, u, v)

Parameters
  • pivData – DataFrame of (x, y, u, v)

  • step – distance (pixel) between adjacent PIV vectors

Returns

vorticity field of the velocity field. unit: [u]/pixel, [u] is the unit of u, usually px/s