next up previous [pdf]

Next: Muting Up: HORIZONTALLY MOVING WAVES Previous: Amplitudes

LMO by nearest-neighbor interpolation

To do linear moveout (LMO) correction, we need to time-shift data. Shifting data requires us to interpolate it. The easiest interpolation method is the nearest-neighbor method. We begin with a signal given at times t = t0+dt*it where it is an integer. Then we can use equation (3.3), namely $\tau=t-px$. Given the location tau of the desired value we backsolve for an integer, say itau. In C, conversion of a real value to an integer is done by truncating the fractional part of the real value. To get rounding up as well as down, we add 0.5 before conversion to an integer, namely itau=0.5+(tau-tau0)/dt. This gives the nearest neighbor. The way the program works is to identify two points, one in $(t,x)$-space and one in $(\tau,x)$-space. Then the data value at one point in one space is carried to the other. The adjoint operation copies $ \tau $ space back to $t$ space.

Nearest neighbor rounding is crude but ordinarily very reliable. I discovered a very rare numerical roundoff problem peculiar to signal time-shifting, a problem which arises in the linear moveout application when the water velocity, about 1.48 km/sec is approximated by 1.5=3/2. The problem arises only where the amount of the time shift is a numerical value (like 12.5000001 or 12.499999) and the fractional part should be exactly 1/2 but numerical rounding pushes it randomly in either direction. We would not care if an entire signal was shifted by either 12 units or by 13 units. What is troublesome, however, is if some random portion of the signal shifts 12 units while the rest of it shifts 13 units. Then the output signal has places which are empty while adjacent places contain the sum of two values. Linear moveout is the only application where I have ever encountered this difficulty. The problem disappears if we use a more accurate sound velocity or if we switch from nearest-neighbor interpolation to linear interpolation.


next up previous [pdf]

Next: Muting Up: HORIZONTALLY MOVING WAVES Previous: Amplitudes

2009-03-16