Skip to content

Commit 09efc70

Browse files
committed
added an output of x and y coordinates to strainrate_calculator
1 parent cf95727 commit 09efc70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strainrate_calculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,6 @@ def strainrate_calculator(x_axis,y_axis,u,v,strain_selections=[1,1,1,1,1,0,1],de
170170
'Rotation Matrix',
171171
'Vertical Strain Rate']
172172
newx = (x_axis[1:]+x_axis[:-1])/2
173-
newwy = (y_axis[1:]+y_axis[:-1])/2
173+
newy = (y_axis[1:]+y_axis[:-1])/2
174174

175175
return sr,newx,newy,sr_meta

0 commit comments

Comments
 (0)