Interface to generate any kind of gravitational waves signal. More...
Prototypes | |
int | main (int UNUSED argc, char **argv) |
Interface to generate any kind of gravitational waves signal.
Right now this test file read an input xml (injection.xml) file and for each valid line it computes the approriate waveform. Those waveforms are either produce within the inject package (PPN waveform) or within the inspiral package (TaylorT[1,2,3], EOB, SpinTaylor, PadeT1).
Then the function LALGeneralInspiral create the amplitude, freq and phi vectors needed for further injection including the data itself (noise, h(t))
Finally, the injections are stored in a vector which is saved in "injection.dat" file.
Definition in file InjectionInterfaceTest.c.
Go to the source code of this file.
Macros | |
#define | INJECTIONINTERFACETEST_INJECTIONXMLFILE "injection.xml" |
#define | INJECTIONINTERFACETEST_INJECTIONOUTPUTFILE "injection.dat" |
#define | ERROR(code, msg, statement) |
#define | SUB(func, statusptr) |
Error Codes | |
#define | INJECTIONINTERFACETESTC_ENORM 0 |
#define | INJECTIONINTERFACETESTC_ESUB 1 |
#define | INJECTIONINTERFACETESTC_EARG 2 |
#define | INJECTIONINTERFACETESTC_EVAL 3 |
#define | INJECTIONINTERFACETESTC_EFILE 4 |
#define | INJECTIONINTERFACETESTC_EMEM 5 |
#define | INJECTIONINTERFACETESTC_EINJECT 6 |
#define | INJECTIONINTERFACETESTC_MSGENORM "Normal exit" |
#define | INJECTIONINTERFACETESTC_MSGESUB "Subroutine failed" |
#define | INJECTIONINTERFACETESTC_MSGEARG "Error parsing arguments" |
#define | INJECTIONINTERFACETESTC_MSGEVAL "Input argument out of valid range" |
#define | INJECTIONINTERFACETESTC_MSGEFILE "Could not open file" |
#define | INJECTIONINTERFACETESTC_MSGEMEM "Out of memory" |
#define | INJECTIONINTERFACETESTC_MSGEINJECT "No valid injection to do ... ? " |
Variables | |
char * | program |
#define INJECTIONINTERFACETESTC_ENORM 0 |
Definition at line 56 of file InjectionInterfaceTest.c.
#define INJECTIONINTERFACETESTC_ESUB 1 |
Definition at line 57 of file InjectionInterfaceTest.c.
#define INJECTIONINTERFACETESTC_EARG 2 |
Definition at line 58 of file InjectionInterfaceTest.c.
#define INJECTIONINTERFACETESTC_EVAL 3 |
Definition at line 59 of file InjectionInterfaceTest.c.
#define INJECTIONINTERFACETESTC_EFILE 4 |
Definition at line 60 of file InjectionInterfaceTest.c.
#define INJECTIONINTERFACETESTC_EMEM 5 |
Definition at line 61 of file InjectionInterfaceTest.c.
#define INJECTIONINTERFACETESTC_EINJECT 6 |
Definition at line 62 of file InjectionInterfaceTest.c.
#define INJECTIONINTERFACETESTC_MSGENORM "Normal exit" |
Definition at line 64 of file InjectionInterfaceTest.c.
#define INJECTIONINTERFACETESTC_MSGESUB "Subroutine failed" |
Definition at line 65 of file InjectionInterfaceTest.c.
#define INJECTIONINTERFACETESTC_MSGEARG "Error parsing arguments" |
Definition at line 66 of file InjectionInterfaceTest.c.
#define INJECTIONINTERFACETESTC_MSGEVAL "Input argument out of valid range" |
Definition at line 67 of file InjectionInterfaceTest.c.
#define INJECTIONINTERFACETESTC_MSGEFILE "Could not open file" |
Definition at line 68 of file InjectionInterfaceTest.c.
#define INJECTIONINTERFACETESTC_MSGEMEM "Out of memory" |
Definition at line 69 of file InjectionInterfaceTest.c.
#define INJECTIONINTERFACETESTC_MSGEINJECT "No valid injection to do ... ? " |
Definition at line 70 of file InjectionInterfaceTest.c.
#define INJECTIONINTERFACETEST_INJECTIONXMLFILE "injection.xml" |
Definition at line 74 of file InjectionInterfaceTest.c.
#define INJECTIONINTERFACETEST_INJECTIONOUTPUTFILE "injection.dat" |
Definition at line 75 of file InjectionInterfaceTest.c.
#define ERROR | ( | code, | |
msg, | |||
statement | |||
) |
Definition at line 103 of file InjectionInterfaceTest.c.
#define SUB | ( | func, | |
statusptr | |||
) |
Definition at line 114 of file InjectionInterfaceTest.c.
int main | ( | int UNUSED | argc, |
char ** | argv | ||
) |
Definition at line 135 of file InjectionInterfaceTest.c.
char* program |
Definition at line 130 of file InjectionInterfaceTest.c.