** Next:** Function: corr_coef()
** Up:** Binary Inspiral Search on
** Previous:** Details of Normalization
** Contents**

##

Function: `strain_spec()`

void strain_spec(float flo, float srate, int n, float *adc_spec,
float *response, float *mean_pow_spec, float *twice_inv_noise)

This routine computes the strain spectrum and twice the
inverse noise
from the ADC spectrum
and the strain response function .
The arguments are:

`flo`: Input. The low frequency cutoff (Hz) for computing the
strain spectrum and twice inverse noise. These are set to zero for
frequencies below `flo`.
`srate`: Input. The sampling rate in Hertz.
`n`: Input. Sets the size of the following arrays.
`adc_spec`: Input. The vector `adc_spec[0..n/2]` of
the ADC power spectrum
.
`response`: Input. The vector `response[0..n+1]` of the
detector *strain* response function . Here, is the
armlength of the detector, so that `response[]` has dimensions of
.
`mean_pow_spec`: Output. The vector
`mean_pow_spec[0..n/2]` containing the strain power spectrum
.
`twice_inv_noise`: Output. The vector
`twice_inv_noise[0..n/2]` containing twice the inverse strain noise
power spectrum
.

The strain power spectrum is
, and the
normalization factor
is present for
agreement with the output of the routine `avg_inv_spec()`.

- Author: Jolien Creighton, jolien@tapir.caltech.edu
- Comments: Note that the strain power spectrum differs from
by the low frequency cutoff, and by the factor .

** Next:** Function: corr_coef()
** Up:** Binary Inspiral Search on
** Previous:** Details of Normalization
** Contents**
Bruce Allen
2000-11-19