xcor1

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
BUGS
COPYRIGHT
AUTHOR

NAME

xcor1 - subroutine to perform one sided autocorrelation

SYNOPSIS

call xcor1(npts,s1,p,fsamin,mpts,tmingt,tmaxgt)

DESCRIPTION

Basic Seismic Utilities (BSU) subroutine which performs a one-sided autocorrelation on signal s1. The output is signal, p. The boxcar window is specified by tmingt and tmaxgt. The number of lags is specified by mpts.
Fortran Version
.

Arguments
npts (int)

Number of samples in signal s1.

s1 (float)

Signal to be autocorrelated.

p (float)

The output autocorrelation, zero lag is first sample.

fsamin (float)

Sample interval in seconds.

mpts (int)

Number of lags to compute autocorrelation.

tmingt (float)

Start time of window.

tmaxgt (float)

End time of window.

SEE ALSO

bdcn(1), conv2(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>