Skip to content

Commit f8cc8e9

Browse files
committed
when sampling is not given, it's calculated based on spataxis and taxis
1 parent 64de479 commit f8cc8e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pylops/waveeqprocessing/seismicinterpolation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ def SeismicInterpolation(
272272
)
273273
else:
274274
sampling = (
275-
np.abs(spataxis[1] - spataxis[1]),
276-
np.abs(taxis[1] - taxis[1]),
275+
np.abs(spataxis[1] - spataxis[0]),
276+
np.abs(taxis[1] - taxis[0]),
277277
)
278278
Pop = FFT2D(dims=dims, nffts=nffts, sampling=sampling)
279279
Pop = Pop.H

0 commit comments

Comments
 (0)