Skip to content

Commit

Permalink
instead of recalculation, we use the precalculated sampling values
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirMardan committed Dec 13, 2024
1 parent f8cc8e9 commit 86c38db
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pylops/waveeqprocessing/seismicinterpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,7 @@ def SeismicInterpolation(
f"and taxis for kind={kind}"
)
else:
sampling = (
np.abs(spataxis[1] - spataxis[0]),
np.abs(taxis[1] - taxis[0]),
)
sampling = (dspat, dt)
Pop = FFT2D(dims=dims, nffts=nffts, sampling=sampling)
Pop = Pop.H
SIop = Rop * Pop
Expand Down

0 comments on commit 86c38db

Please sign in to comment.