BinaryPulsarTiming.c File Reference

Author:
Matt Pitkin Functions to calculate binary system time delays and read TEMPO pulsar parameter files
More...

#include <lal/BinaryPulsarTiming.h>
#include <string.h>
#include <math.h>
#include <lal/LALConstants.h>
#include <lal/LALStdlib.h>
#include <lal/LALString.h>
#include <lal/ComputeFstat.h>

Include dependency graph for BinaryPulsarTiming.c:

Go to the source code of this file.

Defines

#define DAYSTOSECS   86400.0

Functions

 NRCSID (BINARYPULSARTIMINGC,"$Id: BinaryPulsarTiming.c,v 1.28 2008/08/21 14:46:04 mpitkin Exp $")
void LALBinaryPulsarDeltaT (LALStatus *status, BinaryPulsarOutput *output, BinaryPulsarInput *input, BinaryPulsarParams *params)
 Calculate the binary system time delay using the pulsar parameters in params.
void XLALBinaryPulsarDeltaT (BinaryPulsarOutput *output, BinaryPulsarInput *input, BinaryPulsarParams *params)
 function to calculate the binary system delay
void LALReadTEMPOParFile (LALStatus *status, BinaryPulsarParams *output, CHAR *pulsarAndPath)
void XLALReadTEMPOParFile (BinaryPulsarParams *output, CHAR *pulsarAndPath)
 function to read in a TEMPO parameter file
void PrintPulsarParameters (BinaryPulsarParams params)
 function to print out all the pulsar parameters read in from a par file
REAL8 LALDegsToRads (CHAR *degs, const CHAR *coord)
 A function to convert RA and Dec in format dd:mm:ss.ss or ddmmss.ss into the number of degrees as a float degs is the string containing the dd/hh:mm:ss.sss coords is either ra/RA or dec/DEC.
REAL8 LALTTMJDtoGPS (REAL8 MJD)
 Functions for converting times given in Terrestrial time TT, TDB, or TCB in MJD to times in GPS - this is important for epochs given in .par files which are in TDB(MJD).
REAL8 LALTDBMJDtoGPS (REAL8 MJD)
REAL8 LALTCBMJDtoGPS (REAL8 MJD)


Detailed Description

Author:
Matt Pitkin Functions to calculate binary system time delays and read TEMPO pulsar parameter files

Date:
2006
Id
BinaryPulsarTiming.c,v 1.28 2008/08/21 14:46:04 mpitkin Exp

Definition in file BinaryPulsarTiming.c.


Define Documentation

#define DAYSTOSECS   86400.0

Definition at line 113 of file BinaryPulsarTiming.c.


Function Documentation

NRCSID ( BINARYPULSARTIMINGC  ,
"$Id: BinaryPulsarTiming.  c,
v 1.28 2008/08/21 14:46:04 mpitkin Exp $"   
)

void LALBinaryPulsarDeltaT ( LALStatus status,
BinaryPulsarOutput output,
BinaryPulsarInput input,
BinaryPulsarParams params 
)

Calculate the binary system time delay using the pulsar parameters in params.

Definition at line 122 of file BinaryPulsarTiming.c.

void XLALBinaryPulsarDeltaT ( BinaryPulsarOutput output,
BinaryPulsarInput input,
BinaryPulsarParams params 
)

function to calculate the binary system delay

Definition at line 158 of file BinaryPulsarTiming.c.

void LALReadTEMPOParFile ( LALStatus status,
BinaryPulsarParams output,
CHAR pulsarAndPath 
)

Definition at line 608 of file BinaryPulsarTiming.c.

void XLALReadTEMPOParFile ( BinaryPulsarParams output,
CHAR pulsarAndPath 
)

function to read in a TEMPO parameter file

Definition at line 625 of file BinaryPulsarTiming.c.

void PrintPulsarParameters ( BinaryPulsarParams  params  ) 

function to print out all the pulsar parameters read in from a par file

Definition at line 1569 of file BinaryPulsarTiming.c.

REAL8 LALDegsToRads ( CHAR degs,
const CHAR coord 
)

A function to convert RA and Dec in format dd:mm:ss.ss or ddmmss.ss into the number of degrees as a float degs is the string containing the dd/hh:mm:ss.sss coords is either ra/RA or dec/DEC.

Definition at line 1629 of file BinaryPulsarTiming.c.

REAL8 LALTTMJDtoGPS ( REAL8  MJD  ) 

Functions for converting times given in Terrestrial time TT, TDB, or TCB in MJD to times in GPS - this is important for epochs given in .par files which are in TDB(MJD).

TT and GPS are different by a factor of 51.184 secs, this is just the historical factor of 32.184 secs between TT and TAI (International Atomic Time) and the other 19 seconds come from the leap seonds added between the TAI and UTC up to the point of definition of GPS time at UTC 01/01/1980.

Definition at line 1730 of file BinaryPulsarTiming.c.

REAL8 LALTDBMJDtoGPS ( REAL8  MJD  ) 

Definition at line 1746 of file BinaryPulsarTiming.c.

REAL8 LALTCBMJDtoGPS ( REAL8  MJD  ) 

Definition at line 1777 of file BinaryPulsarTiming.c.


Generated on Tue Oct 14 02:32:39 2008 for LAL by  doxygen 1.5.2