cshift

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
BUGS
COPYRIGHT
AUTHOR

NAME

cshift - subroutine to shift traces by phase rotation in the frequency domain.

SYNOPSIS

call cshift(npts, x, dt, samin )

DESCRIPTION

Basic Seismic Utilities (BSU) rotates phase to shift data. Requires the sample interval and the time shift as input. A positive shift is a delay, a negative shift is an advance.
Fortran Version
.

Arguments
npts (int)

Number of samples in a trace

x (complex)

Complex trace ( frequency domain).

dt (float)

Time shift to apply.

samin (float)

Sample interval in seconds.

SEE ALSO

flist(3)

BUGS

No known bugs.

COPYRIGHT

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.

AUTHOR

P. Michaels, PE. <pm@cgiss.boisestate.edu>