Igor B.Morozov, 1/97; modified 04/02 (removed the confusing time-shift option). 11/2015: added mode WAVELET
Auto- and cross-correlation.
Calculates auto- and cross-correlations of specified traces. Auto-correlations are calculated on a trace-by-trace basis; cross-correlations are performed within each ensemble.
The program can also be used to measure the time of the second zero crossing of the autocorrelation function, or cross-correlation lags. These values can be put into trace headers for further editing or for use as DECON parameters. The measuremenbt can be carried out without changes to the input traces, or along with the changes to them. See list MEASURE.
In place of the input traces, the module outputs cross- or autocorrelation traces of lengths equal 2*(TEND-TSTART) (see the time gate parameters in the main module call line). The time starts of the output traces are set so that theie middles correspond to zero cross- (auto-) correlation lag values. Positive lags mean a delay of the cross-correlated trace relative to the reference trace (specified by the value of header INDEX=INDVAL; see the module call format).
*call | CORREL | MODE TSTART TEND INDEX INDVAL ALL | |
MODE |
Processing mode: |
|
TSTART |
Beginning of the correlation time window, ms. Note that for cross-correlation, the TSTART-TEND window may be different in the two correlated traces. This can be achieved by using trace headers to parameterize TSTART and TEND. See EXAMPLES. |
|
TEND |
End of correlation time window, ms. Note that for cross-correlation, the TSTART-TEND window may be different in the two correlated traces. This can be achieved by using trace headers to parameterize TSTART and TEND. See EXAMPLES. |
|
INDEX |
For CROSS option only: Name of integer header entry specifying the component with which the cross-correlationa are performed. |
|
INDVAL |
For CROSS option only: Value of INDEX for the component cross-correlated with those indicated in Repeat list. This component is replaced by its autocorrelation. |
|
ALL |
Put ALL here to cross-correlate all ensemble traces with the selected one. If ALL is not set, the components are selected using the Repeat list below. |
|
This Repeat group is used only if MODE=CROSS. The list of components which need to be crosscorrelated with the component specified in the GLOBAL list.
IND |
Value of INDEX for the cross-correlated component. This trace is replaced by the resulting cross-correlation with the component specified by the INDVAL value above |
|