Next: Function: receiver1()
Up: Binary Inspiral Search on
Previous: Function: strain_spec()
Contents
Function: corr_coef()
void corr_coef(float *a0, float *a1, float *r, int n,
float *r00, float *r11, float *r01)
This routine computes the correlation coefficients, , ,
and , of two vectors of data, and :

(13.4.312) 
The arguments are:
 a0: Input. The vector
.
 a1: Input. The vector
.
 r: Input. Twice the inverse noise
,
as returned by, e.g., strain_spec().
 n: Input. The length of the arrays a0[1..n1],
a1[1..n1], and r[0..n/2].
 r00: Output. The correlation coefficient
.
 r00: Output. The correlation coefficient
.
 r00: Output. The correlation coefficient
.
 Author: Jolien Creighton, jolien@tapir.caltech.edu
 Comments: The inner product is equal to the value
c[0] of the output of correlate(c,a0,a1,r,n); thus,
it differs by a factor of two from the Cutler and Flanagan inner product.
The constant
is explained in
section .
Bruce Allen
20001119