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

snaphot...

parent cfad92c9
Branches
No related tags found
No related merge requests found
...@@ -1392,3 +1392,8 @@ def resample(x, y, z, x_new, y_new): ...@@ -1392,3 +1392,8 @@ def resample(x, y, z, x_new, y_new):
f = RectBivariateSpline(x, y, z_k) f = RectBivariateSpline(x, y, z_k)
z_intrp.append(f(x_new, y_new)) z_intrp.append(f(x_new, y_new))
return np.stack(z_intrp) return np.stack(z_intrp)
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment