Skip to content

Commit

Permalink
when sampling is not given, it's calculated based on spataxis and…
Browse files Browse the repository at this point in the history
… `taxis`
  • Loading branch information
AmirMardan committed Dec 13, 2024
1 parent 64de479 commit f8cc8e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pylops/waveeqprocessing/seismicinterpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f8cc8e9

Please sign in to comment.