myimagelib.pivLib.to_matrix
- myimagelib.pivLib.to_matrix(pivData)
Convert PIV data from DataFrame of (x, y, u, v) to four 2D matrices x, y, u, v.
- Parameters:
pivData (pandas.DataFrame) – PIV data
- Returns:
x, y, u, v – 2D matrices
>>> from myimagelib.pivLib import to_matrix >>> x, y, u, v = to_matrix(pivData)
Edit
Nov 17, 2022 – Initial commit.