openpiv_cxx.tools.transform_coordinates¶
- openpiv_cxx.tools.transform_coordinates(x, y, u, v)¶
Set origin of flow field.
Converts coordinate systems from/to the image based / physical based.
- Parameters:
x (ndarray) – 2D arrays of x/y coordinates.
y (ndarray) – 2D arrays of x/y coordinates.
u (ndarray) – 2D arrays of u/v components.
v (ndarray) – 2D arrays of u/v components.
- Returns:
x, y (ndarray) – 2D arrays of x/y coordinates.
u, v (ndarray) – 2D arrays of u/v components.