Skip to content
Snippets Groups Projects
Commit c1b8585c authored by tomrink's avatar tomrink
Browse files

snaphot...

parent 0784d155
Branches
No related tags found
No related merge requests found
......@@ -1385,7 +1385,7 @@ def downscale_2x(original, smoothing=False, samples_axis_first=False):
return lr
def resample(y, x, z, y_new, x_new):
def resample(x, y, z, x_new, y_new):
z_intrp = []
for k in range(z.shape[0]):
z_k = z[k, :, :]
......@@ -1394,6 +1394,6 @@ def resample(y, x, z, y_new, x_new):
return np.stack(z_intrp)
def resample_one(y, x, z, y_new, x_new):
def resample_one(x, y, z, x_new, y_new):
f = RectBivariateSpline(x, y, z)
return f(x_new, y_new)
\ No newline at end of file
return f(x_new, y_new)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment