Skip to content

Commit dfc2c7a

Browse files
committed
fix the sampling issue for 3D
1 parent 86c38db commit dfc2c7a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pylops/waveeqprocessing/seismicinterpolation.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -256,11 +256,7 @@ def SeismicInterpolation(
256256
f"spat1axis and taxis for kind=%{kind}"
257257
)
258258
else:
259-
sampling = (
260-
np.abs(spataxis[1] - spataxis[1]),
261-
np.abs(spat1axis[1] - spat1axis[1]),
262-
np.abs(taxis[1] - taxis[1]),
263-
)
259+
sampling = (dspat, dspat1, dt)
264260
Pop = FFTND(dims=dims, nffts=nffts, sampling=sampling)
265261
Pop = Pop.H
266262
else:

0 commit comments

Comments
 (0)