ExtrapolatePulsarSpinsTest.c File Reference

Author:
Reinhard Prix Test for ExtrapolatePulsarSpins().
More...

#include <math.h>
#include <lal/AVFactories.h>
#include <lal/PulsarDataTypes.h>
#include <lal/ExtrapolatePulsarSpins.h>

Include dependency graph for ExtrapolatePulsarSpinsTest.c:

Go to the source code of this file.

Defines

#define RELERROR(x, y)   fabs( 2.0 * ((x) - (y)) / ( (x) + (y) ) )
#define ERROR(code, msg, statement)
#define INFO(statement)
#define SUB(func, statusptr)
Error codes
#define PULSARSPINTESTC_ENORM   0
#define PULSARSPINTESTC_ESUB   1
#define PULSARSPINTESTC_MSGENORM   "Normal exit"
#define PULSARSPINTESTC_MSGESUB   "Subroutine failed"

Functions

 NRCSID (PULSARSPINTESTC,"$Id: ExtrapolatePulsarSpinsTest.c,v 1.9 2006/10/20 13:59:07 reinhard Exp $")
int main (int argc, char *argv[])
 MAIN function of SideBandMCMC code Compute the posterior pdfs of the orbital and nuisance parameters of a binary signal in Fstat form.


Detailed Description

Author:
Reinhard Prix Test for ExtrapolatePulsarSpins().

Definition in file ExtrapolatePulsarSpinsTest.c.


Define Documentation

#define PULSARSPINTESTC_ENORM   0

Definition at line 37 of file ExtrapolatePulsarSpinsTest.c.

#define PULSARSPINTESTC_ESUB   1

Definition at line 38 of file ExtrapolatePulsarSpinsTest.c.

#define PULSARSPINTESTC_MSGENORM   "Normal exit"

Definition at line 40 of file ExtrapolatePulsarSpinsTest.c.

#define PULSARSPINTESTC_MSGESUB   "Subroutine failed"

Definition at line 41 of file ExtrapolatePulsarSpinsTest.c.

#define RELERROR ( x,
y   )     fabs( 2.0 * ((x) - (y)) / ( (x) + (y) ) )

Definition at line 45 of file ExtrapolatePulsarSpinsTest.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__, PULSARSPINTESTC, statement ? statement :                     "", (msg) );                                      } while (0)

Definition at line 52 of file ExtrapolatePulsarSpinsTest.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__,                      PULSARSPINTESTC, (statement) );                     } while (0)

Definition at line 61 of file ExtrapolatePulsarSpinsTest.c.

#define SUB ( func,
statusptr   ) 

Value:

do {                                                                   if ( (func), (statusptr)->statusCode ) {                               ERROR( PULSARSPINTESTC_ESUB, PULSARSPINTESTC_MSGESUB,                       "Function call \"" #func "\" failed:" );                      return PULSARSPINTESTC_ESUB;                                       }                                                                  } while (0)

Definition at line 69 of file ExtrapolatePulsarSpinsTest.c.


Function Documentation

NRCSID ( PULSARSPINTESTC  ,
"$Id: ExtrapolatePulsarSpinsTest.  c,
v 1.9 2006/10/20 13:59:07 reinhard Exp $"   
)

int main ( int  argc,
char *  argv[] 
)

MAIN function of SideBandMCMC code Compute the posterior pdfs of the orbital and nuisance parameters of a binary signal in Fstat form.

..

TEST NO. 1

TEST NO. 2

TEST NO. 3

TEST NO. 4

Definition at line 83 of file ExtrapolatePulsarSpinsTest.c.


Generated on Fri Sep 5 03:07:54 2008 for LAL by  doxygen 1.5.2