Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALPulsar 7.1.1.1-b246709
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
VelocityTest.c File Reference

Tests the calculation of the averaged velocity of a given detector. More...

Detailed Description

Tests the calculation of the averaged velocity of a given detector.

Author
Krishnan, B., Sintes, A.M.

Program TestVelocity.c

Usage

TestVelocity [-d debuglevel] [-a accuracy]
static const INT4 a

Description

This program computes the averaged velocity of the GEO600 detector between the times 730000044 and 730003644 with a default accuracy of 0.01. The two ephemeris files (e.g., for data taken in 2003, sun03.dat and earth03.dat) are assumed to be in the directory lal/packages/pulsar/test/.

The -d option sets the debug level to the specified value debuglevel. The -a flag tells the program which accuracy to use.

Uses

LALMalloc()
LALFree()
LALCheckMemoryLeaks()
int LALPrintError(const char *fmt,...)
void LALAvgDetectorVel(LALStatus *status, REAL8 v[3], VelocityPar *in)
This function outputs the average velocity REAL8 v[3] of the detector during a time interval.
Definition: Velocity.c:34

Definition in file VelocityTest.c.

Go to the source code of this file.

Macros

Error Codes
#define TESTVELOCITYC_ENORM   0
 
#define TESTVELOCITYC_ESUB   1
 
#define TESTVELOCITYC_EARG   2
 
#define TESTVELOCITYC_EBAD   3
 
#define TESTVELOCITYC_EFILE   4
 
#define TESTVELOCITYC_MSGENORM   "Normal exit"
 
#define TESTVELOCITYC_MSGESUB   "Subroutine failed"
 
#define TESTVELOCITYC_MSGEARG   "Error parsing arguments"
 
#define TESTVELOCITYC_MSGEBAD   "Bad argument values"
 
#define TESTVELOCITYC_MSGEFILE   "Could not create output file"
 

Macro Definition Documentation

◆ TESTVELOCITYC_ENORM

#define TESTVELOCITYC_ENORM   0

Definition at line 81 of file VelocityTest.c.

◆ TESTVELOCITYC_ESUB

#define TESTVELOCITYC_ESUB   1

Definition at line 82 of file VelocityTest.c.

◆ TESTVELOCITYC_EARG

#define TESTVELOCITYC_EARG   2

Definition at line 83 of file VelocityTest.c.

◆ TESTVELOCITYC_EBAD

#define TESTVELOCITYC_EBAD   3

Definition at line 84 of file VelocityTest.c.

◆ TESTVELOCITYC_EFILE

#define TESTVELOCITYC_EFILE   4

Definition at line 85 of file VelocityTest.c.

◆ TESTVELOCITYC_MSGENORM

#define TESTVELOCITYC_MSGENORM   "Normal exit"

Definition at line 87 of file VelocityTest.c.

◆ TESTVELOCITYC_MSGESUB

#define TESTVELOCITYC_MSGESUB   "Subroutine failed"

Definition at line 88 of file VelocityTest.c.

◆ TESTVELOCITYC_MSGEARG

#define TESTVELOCITYC_MSGEARG   "Error parsing arguments"

Definition at line 89 of file VelocityTest.c.

◆ TESTVELOCITYC_MSGEBAD

#define TESTVELOCITYC_MSGEBAD   "Bad argument values"

Definition at line 90 of file VelocityTest.c.

◆ TESTVELOCITYC_MSGEFILE

#define TESTVELOCITYC_MSGEFILE   "Could not create output file"

Definition at line 91 of file VelocityTest.c.