#include <math.h>#include <stdlib.h>#include <lal/LALStdio.h>#include <lal/LALStdlib.h>#include <lal/LALConstants.h>#include <lal/AVFactories.h>#include <lal/SeqFactories.h>#include <lal/SimulateCoherentGW.h>#include <lal/GeneratePPNInspiral.h>#include <lal/LALError.h>#include <lal/DetectorSite.h>#include <lal/DetResponse.h>#include <lal/Date.h>#include <lal/Units.h>#include <lal/TimeDelay.h>#include <lal/LALBarycenter.h>#include <lal/VectorOps.h>#include <lal/SkyCoordinates.h>#include <stdio.h>#include <unistd.h>#include <lal/Random.h>#include <lal/PrintFTSeries.h>#include <lal/TimeFreqFFT.h>#include <lal/LALMoment.h>#include <lal/LALInspiral.h>Include dependency graph for GeneratePPNAmpCorInspiralTest.c:

Go to the source code of this file.
Data Structures | |
| struct | tagPPNInspiralBuffer |
Defines | |
| #define | GENERATEPPNINSPIRALTESTC_ENORM 0 |
| #define | GENERATEPPNINSPIRALTESTC_ESUB 1 |
| #define | GENERATEPPNINSPIRALTESTC_EARG 2 |
| #define | GENERATEPPNINSPIRALTESTC_EVAL 3 |
| #define | GENERATEPPNINSPIRALTESTC_EFILE 4 |
| #define | GENERATEPPNINSPIRALTESTC_EPRINT 5 |
| #define | BUFFSIZE 1024 |
| #define | GENERATEPPNINSPIRALTESTC_MSGENORM "Normal exit" |
| #define | GENERATEPPNINSPIRALTESTC_MSGESUB "Subroutine failed" |
| #define | GENERATEPPNINSPIRALTESTC_MSGEARG "Error parsing arguments" |
| #define | GENERATEPPNINSPIRALTESTC_MSGEVAL "Input argument out of valid range" |
| #define | GENERATEPPNINSPIRALTESTC_MSGEFILE "Could not open file" |
| #define | GENERATEPPNINSPIRALTESTC_MSGEPRINT "Wrote past end of message string" |
| #define | EPOCH (315187200000000000LL) |
| #define | M1 (1.4) |
| #define | M2 (1.4) |
| #define | DIST (100000) |
| #define | INC (90.0) |
| #define | PHI (0.0) |
| #define | FMIN (40.0) |
| #define | FMAX (0.0) |
| #define | DT (0.00048828125) |
| #define | ORDER (7) |
| #define | AMP (5) |
| #define | USAGE "Usage: %s [-g FFToutfile] [-m m1 m2] [-r dist] [-i inc phii psi]\n\t[-f fmin fmax] [-t dt] [-p order amp] [-d debuglevel] [-o outfile]\n\t [-s taper]" |
| #define | MSGLENGTH (1024) |
| #define | ERROR(code, msg, statement) |
| #define | INFO(statement) |
| #define | WARNING(statement) |
| #define | SUB(func, statusptr) |
| #define | CHECKVAL(val, lower, upper) |
| #define | FREELIST(node) |
Typedefs | |
| typedef tagPPNInspiralBuffer | PPNInspiralBuffer |
Functions | |
| NRCSID (GENERATEPPNINSPIRALTESTC,"$Id: GeneratePPNAmpCorInspiralTest.c,v 1.16 2008/08/07 17:45:33 mckechan Exp $") | |
| void | I8ToLIGOTimeGPS (LIGOTimeGPS *output, INT8 input) |
| int | main (int argc, char **argv) |
Variables | |
| int | lalDebugLevel = 1 |
| char * | lalWatch |
| #define GENERATEPPNINSPIRALTESTC_ENORM 0 |
Definition at line 38 of file GeneratePPNAmpCorInspiralTest.c.
| #define GENERATEPPNINSPIRALTESTC_ESUB 1 |
Definition at line 39 of file GeneratePPNAmpCorInspiralTest.c.
| #define GENERATEPPNINSPIRALTESTC_EARG 2 |
Definition at line 40 of file GeneratePPNAmpCorInspiralTest.c.
| #define GENERATEPPNINSPIRALTESTC_EVAL 3 |
Definition at line 41 of file GeneratePPNAmpCorInspiralTest.c.
| #define GENERATEPPNINSPIRALTESTC_EFILE 4 |
Definition at line 42 of file GeneratePPNAmpCorInspiralTest.c.
| #define GENERATEPPNINSPIRALTESTC_EPRINT 5 |
Definition at line 43 of file GeneratePPNAmpCorInspiralTest.c.
| #define BUFFSIZE 1024 |
Definition at line 44 of file GeneratePPNAmpCorInspiralTest.c.
| #define GENERATEPPNINSPIRALTESTC_MSGENORM "Normal exit" |
Definition at line 46 of file GeneratePPNAmpCorInspiralTest.c.
| #define GENERATEPPNINSPIRALTESTC_MSGESUB "Subroutine failed" |
Definition at line 47 of file GeneratePPNAmpCorInspiralTest.c.
| #define GENERATEPPNINSPIRALTESTC_MSGEARG "Error parsing arguments" |
Definition at line 48 of file GeneratePPNAmpCorInspiralTest.c.
| #define GENERATEPPNINSPIRALTESTC_MSGEVAL "Input argument out of valid range" |
Definition at line 49 of file GeneratePPNAmpCorInspiralTest.c.
| #define GENERATEPPNINSPIRALTESTC_MSGEFILE "Could not open file" |
Definition at line 50 of file GeneratePPNAmpCorInspiralTest.c.
Definition at line 51 of file GeneratePPNAmpCorInspiralTest.c.
| #define EPOCH (315187200000000000LL) |
Definition at line 88 of file GeneratePPNAmpCorInspiralTest.c.
| #define M1 (1.4) |
Definition at line 89 of file GeneratePPNAmpCorInspiralTest.c.
| #define M2 (1.4) |
Definition at line 90 of file GeneratePPNAmpCorInspiralTest.c.
| #define DIST (100000) |
Definition at line 91 of file GeneratePPNAmpCorInspiralTest.c.
| #define INC (90.0) |
Definition at line 92 of file GeneratePPNAmpCorInspiralTest.c.
| #define PHI (0.0) |
Definition at line 93 of file GeneratePPNAmpCorInspiralTest.c.
| #define FMIN (40.0) |
Definition at line 94 of file GeneratePPNAmpCorInspiralTest.c.
| #define FMAX (0.0) |
Definition at line 95 of file GeneratePPNAmpCorInspiralTest.c.
| #define DT (0.00048828125) |
Definition at line 96 of file GeneratePPNAmpCorInspiralTest.c.
| #define ORDER (7) |
Definition at line 97 of file GeneratePPNAmpCorInspiralTest.c.
| #define AMP (5) |
Definition at line 98 of file GeneratePPNAmpCorInspiralTest.c.
| #define USAGE "Usage: %s [-g FFToutfile] [-m m1 m2] [-r dist] [-i inc phii psi]\n\t[-f fmin fmax] [-t dt] [-p order amp] [-d debuglevel] [-o outfile]\n\t [-s taper]" |
Definition at line 101 of file GeneratePPNAmpCorInspiralTest.c.
| #define MSGLENGTH (1024) |
Definition at line 104 of file GeneratePPNAmpCorInspiralTest.c.
| #define ERROR | ( | code, | |||
| msg, | |||||
| statement | ) |
Value:
do if ( lalDebugLevel & LALERROR ) { LALPrintError( "Error[0] %d: program %s, file %s, line %d, %s\n" " %s %s\n", (code), *argv, __FILE__, __LINE__, GENERATEPPNINSPIRALTESTC, statement ? statement : "", (msg) ); } while (0)
Definition at line 108 of file GeneratePPNAmpCorInspiralTest.c.
| #define INFO | ( | statement | ) |
Value:
do if ( lalDebugLevel & LALINFO ) { LALPrintError( "Info[0]: program %s, file %s, line %d, %s\n" " %s\n", *argv, __FILE__, __LINE__, GENERATEPPNINSPIRALTESTC, (statement) ); } while (0)
Definition at line 119 of file GeneratePPNAmpCorInspiralTest.c.
| #define WARNING | ( | statement | ) |
Value:
do if ( lalDebugLevel & LALWARNING ) { LALPrintError( "Warning[0]: program %s, file %s, line %d, %s\n" " %s\n", *argv, __FILE__, __LINE__, GENERATEPPNINSPIRALTESTC, (statement) ); } while (0)
Definition at line 129 of file GeneratePPNAmpCorInspiralTest.c.
| #define SUB | ( | func, | |||
| statusptr | ) |
Value:
do if ( (func), (statusptr)->statusCode ) { ERROR( GENERATEPPNINSPIRALTESTC_ESUB, GENERATEPPNINSPIRALTESTC_MSGESUB, "Function call \"" #func "\" failed:" ); return GENERATEPPNINSPIRALTESTC_ESUB; } while (0)
Definition at line 139 of file GeneratePPNAmpCorInspiralTest.c.
| #define CHECKVAL | ( | val, | |||
| lower, | |||||
| upper | ) |
Value:
do if ( ( (val) < (lower) ) || ( (val) > (upper) ) ) { ERROR( GENERATEPPNINSPIRALTESTC_EVAL, GENERATEPPNINSPIRALTESTC_MSGEVAL, "Value of " #val " out of range:" ); LALPrintError( #val " = %f, range = [%f,%f]\n", (REAL8)(val), (REAL8)(lower), (REAL8)(upper) ); return GENERATEPPNINSPIRALTESTC_EVAL; } while (0)
Definition at line 150 of file GeneratePPNAmpCorInspiralTest.c.
| #define FREELIST | ( | node | ) |
Value:
do { PPNInspiralBuffer *herePtr = (node); while ( herePtr ) { PPNInspiralBuffer *lastPtr = herePtr; herePtr = herePtr->next; LALFree( lastPtr ); } } while (0)
Definition at line 174 of file GeneratePPNAmpCorInspiralTest.c.
| typedef struct tagPPNInspiralBuffer PPNInspiralBuffer |
| NRCSID | ( | GENERATEPPNINSPIRALTESTC | , | |
| "$Id: GeneratePPNAmpCorInspiralTest. | c, | |||
| v 1.16 2008/08/07 17:45:33 mckechan Exp $" | ||||
| ) |
| void I8ToLIGOTimeGPS | ( | LIGOTimeGPS * | output, | |
| INT8 | input | |||
| ) |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 197 of file GeneratePPNAmpCorInspiralTest.c.
| int lalDebugLevel = 1 |
| lalDebugLevel | INT4 Control debugging behaviours. Defined in lalapps.h |
Definition at line 87 of file GeneratePPNAmpCorInspiralTest.c.
| char* lalWatch |
Definition at line 188 of file GeneratePPNAmpCorInspiralTest.c.
1.5.2