From f8cc8e90c655d3f8ec5b18fbc8bccc16a661199e Mon Sep 17 00:00:00 2001 From: Amir Mardan <46511946+AmirMardan@users.noreply.github.com> Date: Fri, 13 Dec 2024 11:13:47 -0500 Subject: [PATCH] when `sampling` is not given, it's calculated based on `spataxis` and `taxis` --- pylops/waveeqprocessing/seismicinterpolation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylops/waveeqprocessing/seismicinterpolation.py b/pylops/waveeqprocessing/seismicinterpolation.py index 7fb22433..68b3e323 100644 --- a/pylops/waveeqprocessing/seismicinterpolation.py +++ b/pylops/waveeqprocessing/seismicinterpolation.py @@ -272,8 +272,8 @@ def SeismicInterpolation( ) else: sampling = ( - np.abs(spataxis[1] - spataxis[1]), - np.abs(taxis[1] - taxis[1]), + np.abs(spataxis[1] - spataxis[0]), + np.abs(taxis[1] - taxis[0]), ) Pop = FFT2D(dims=dims, nffts=nffts, sampling=sampling) Pop = Pop.H