SIGCLEAR Program reference

sgxcorr

auto-correlation or cross-correlation for dual vectors

Package: sigclear-dsp · Version: 1.2.0-2 Download JSON

Description

Correlate a selected vector pair within each group and write the result on a
lag axis. When only one input vector is selected, the program computes its
autocorrelation; use the lag and normalization options to control the result.

Synopsis

sgxcorr <stdin >stdout x=VECTOR("data") y=NULL tmax=0.5 tmin=-tmax norm=false

Parameters

sgxcorr parameters
ParameterTypeDefaultDescription
in ifile stdin input data
out ofile stdout output data: 1. other vectors are removed 2. all columns in one group produce one correlation column
x vect VECTOR("data") x component, will be replaced by correlation data
y vect NULL y component; defaults to x for autocorrelation
tmax float 0.5 last delay of cross-correlation
tmin float -tmax first delay of cross-correlation
norm bool false normalize the correlation values

Input and output

Input

input data

Output

output data: 1. other vectors are removed 2. all columns in one group produce one correlation column