vshft - subroutine to shift a signal by an interpolation method.
call vshft(npts, s1, s2, dt, fsamin )
Basic Seismic
Utilities (BSU) calls an inline function, valxx, which
linearly interpolates a sample value at a non sampled time
to shift a seismic trace by a desired amount.
Fortran Version.
Arguments
npts (int)
Number of samples in a trace
s1 (float)
Signal to be shifted (not altered).
s2 (float)
Output, shifted signal.
dt (float)
Time shift to apply.
fsamin (float)
Sample interval of the data.
bvas(1), bvax(1)
No known bugs.
Copyright © 2017 by Paul Michaels
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
P. Michaels, PE. <pm@cgiss.boisestate.edu>