22 #include <lal/LALStdlib.h>
23 #include <lal/LALStdio.h>
24 #include <lal/LALConstants.h>
25 #include <lal/Calibration.h>
121 REAL8 tmp =
a * c - b * s;
140 REAL8 tmp =
a * c - b * s;
151 if (( fabs( creal(EXC) ) < tiny && fabs( cimag(EXC) ) < tiny ))
164 RD = EXC / DARM_CTRL;
165 alphabeta = (RD - 1.0) / G0;
172 RQ = AS_Q / DARM_CTRL;
173 alpha = -RQ * D0 / G0;
180 DmLoQ = (DARM_CTRL - EXC) / AS_Q;
185 output->alphabeta=alphabeta;
void LALComputeCalibrationFactors(LALStatus *status, CalFactors *output, UpdateFactorsParams *params)
#define ASSERT(assertion, statusptr, code, mesg)
#define INITSTATUS(statusptr)
#define RETURN(statusptr)
#define CALIBRATIONH_ENULL
Null pointer.
#define CALIBRATIONH_ESIZE
Invalid size.
#define LAL_PI
Archimedes's constant, pi.
#define LAL_REAL8_MIN
Smallest normalized REAL8 number 2^-1022.
double complex COMPLEX16
Double-precision floating-point complex number (16 bytes total)
double REAL8
Double precision real floating-point number (8 bytes).
uint32_t UINT4
Four-byte unsigned integer.
LAL status structure, see The LALStatus structure for more details.
REAL4Sequence * data
The sequence of sampled data.
REAL8 deltaT
The time step between samples of the time series in seconds.
REAL4 * data
Pointer to the data array.
UINT4 length
Number of elements in array.
REAL4TimeSeries * darmCtrl
void output(int gps_sec, int output_type)