BAIT manual page

NAME

corcoll - determines cross correlation function of columnar data

SYNOPSIS

corrcol [data_file] [bias] [slope] [auto] [auto2] [max] [verbose]

DESCRIPTION

corrcol computes the cross correlation function of the first two columns in stdin or the optional data_file specified on the command line. An optional bias level or slope is subtracted from the data if these options are specified (the slope actually fits a line so the bias option is redundant). The correlation function is printed to stdout unless the max option is specified at which time only the maximum lag and value are printed out.

The algorithm computes the correlation function by the Fourier transform method discussed in chapter 12 of Numeri_cal Recipes. The number of points in the transform is the next factor of two that is greater than or equal to the number of input data points. Unspecified points are padded with zeroes.

You can compute the auto-correlation function of the first or second columns alone by specifying the auto or auto2 options.

The verbose option prints information such as the bias or slope levels. to stderr.