In file No file:

void sMixdown (int flag, const float xre[], const float xim[], float yre[], float yim[], int n, double t, double dt, double fmix)

Heterodyne a time series of real or imaginary data

Documentation

Complex heterodyne function

This function multiplies a time series of real or complex data by a complex exponential. To use with real data, call the function with NULL for the array of the imaginary parts in the time series.

Example:
int flag=1;
float xre[1024];   //the real part of the input data                         
float xim[1024];   //the imaginary part of the input data                    
float yre[1024];   //the real part of the heterodyned output                 
float yim[1024];   //the imaginary part of the heterodyned output            
int n = 1024;      //the number of points in the input data                  
double t;          //the time offset at the start of the input data          
double dt;         //the time interval between successive time series points 
double fmix;       //the heterodyne frequency                           

// call the function once to run the filter
sMixdown(flag, xre, xim, yre, yim, n, t, dt, fmix);

Returns:
void
Parameters:
flag - an integer flag, unused at present
xre - the real part of the input data
xim - the imaginary part of the input data
yre - real part of the heterodyned output
yim - imaginary part of the heterodyned output
n - the number of points in the input data
t - time offset at the start of the input data
dt - time interval between successive points
fmix - the heterodyne frequency
Author:
Edward Daw, November 1998

alphabetic index hierarchy of classes


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


generated by doc++