diff options
-rw-r--r-- | doublenull.py | 4 | ||||
-rw-r--r-- | test/test_doublenull.npz | bin | 103064 -> 103064 bytes |
2 files changed, 2 insertions, 2 deletions
diff --git a/doublenull.py b/doublenull.py index 6fe84ef..e3fe0d1 100644 --- a/doublenull.py +++ b/doublenull.py @@ -181,7 +181,7 @@ def null_coordinates(times, spatial_coords, u_rays, v_rays, for i, t in enumerate(times): Xu = X_of_ut[:, i] Xv = X_of_vt[:, i] - u_of_tx[i] = interp1d(Xu, u_rays, fill_value = 'extrapolate')(spatial_coords) - v_of_tx[i] = interp1d(Xv, v_rays, fill_value = 'extrapolate')(spatial_coords) + u_of_tx[i] = interp1d(Xu, u_rays, bounds_error = False)(spatial_coords) + v_of_tx[i] = interp1d(Xv, v_rays, bounds_error = False)(spatial_coords) return (u_of_tx, v_of_tx) diff --git a/test/test_doublenull.npz b/test/test_doublenull.npz Binary files differindex 82aa642..db5fc85 100644 --- a/test/test_doublenull.npz +++ b/test/test_doublenull.npz |