bxcr - BSU program which peforms cross-correlation between two data sets
bxcr [ -h | infile1 | infile2 | t1 | t2 | tlagmx ]
Basic Seismic Utilities (BSU) cross correlates two different data sets (or the same data set with itself, autocorrelation). The zero lag point is set at the middle of the output data set. The aperture is established independently from the number of lags.
Options
-h |
Online help giving details on command line arguments |
infile1
Input file 1 name
infile2
Input file 2 name (can be same as infile 1)
t1 |
Start time of aperture | ||
t2 |
End time of aperture | ||
tlagmx |
Maximum shift (in time, seconds). This is symetrical about zero lag. |
NOTE:
If invoked with no options, will prompt user for input
parameters.
EXAMPLE:
bxcr wav1.seg wav2.seg 0. .10 .05
File wav1.seg is cross correlated with wav2.seg. Only samples from 0 to 0.1 seconds are included in the correlation, and the maximum shift is .05 seconds.
bxcrxxxx.seg
Output, correlation data set. Named according to convention (first 4char bxcr, the next 4char are the first 4char of the input file name, suffix .seg)
standard output
produces a progress bar
bxcrxxxx.lst
echo check of input parameters
bhelp(1), xcor(3)
No known bugs.
Copyright © 2024 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. <paulmichaels@.boisestate.edu>