We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7246d29 commit 5ab5880Copy full SHA for 5ab5880
1 file changed
openpiv/piv.py
@@ -54,6 +54,9 @@ def simple_piv(im1, im2, plot=True):
54
ax.quiver(x[valid], y[valid], u[valid], -v[valid], scale=70,
55
color='r', width=.005)
56
plt.show()
57
+
58
+ # conform with the windef and tools.display_vector_field
59
+ x,y,u,v = tools.transform_coordinates(x,y,u,v)
60
61
return x, y, u, v, s2n
62
0 commit comments