From dfc2c7a1278b912009aaab33e3b290968a2d9528 Mon Sep 17 00:00:00 2001 From: Amir Mardan <46511946+AmirMardan@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:53:10 -0500 Subject: [PATCH] fix the sampling issue for 3D --- pylops/waveeqprocessing/seismicinterpolation.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pylops/waveeqprocessing/seismicinterpolation.py b/pylops/waveeqprocessing/seismicinterpolation.py index 67c17f48..e1159d4a 100644 --- a/pylops/waveeqprocessing/seismicinterpolation.py +++ b/pylops/waveeqprocessing/seismicinterpolation.py @@ -256,11 +256,7 @@ def SeismicInterpolation( f"spat1axis and taxis for kind=%{kind}" ) else: - sampling = ( - np.abs(spataxis[1] - spataxis[1]), - np.abs(spat1axis[1] - spat1axis[1]), - np.abs(taxis[1] - taxis[1]), - ) + sampling = (dspat, dspat1, dt) Pop = FFTND(dims=dims, nffts=nffts, sampling=sampling) Pop = Pop.H else: