In file No file:

int crossPower (int data_length, int data_type, const float* fdata_x, const float* fdata_y, float* cs_result)

Cross Power Spectrum Function

Documentation

Cross Power Spectrum Function. This function computes the cross power spectrum of two fourier series. It gives the same result as the crossSpect functionh but with a different normalization, ie., the absolute value of a data point represents the true power at this frequency.

Returns:
s 0 if successful, -1 if error
Parameters:
data_length - the number of bins in the fourier series
data_type - DATA_REAL, if the original time datas were unheterodyned, DATA_COMPLEX if the time datas had been hetrodyned.
data_x - the first fourier series
data_y - the second fourier series
cs_result - the resulting cross power spectrum
Author:
Edward Daw, June 1999

alphabetic index hierarchy of classes


Please send questions and comments to zweizig_j@ligo.caltech.edu


generated by doc++