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

Program to convert an input MJD, or GPS, time at the solar system barycentre to a GPS time at a detector. More...

Prototypes

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

Detailed Description

Program to convert an input MJD, or GPS, time at the solar system barycentre to a GPS time at a detector.

Author
Matt Pitkin

This code will take in an MJD time in TDB, or a GPS-style time in TDB at the solar system barycentre and convert it to a GPS time at a given detector for a given sky position. The input detectors can be any of the standard acronyms for gravitational wave detectors, but can also include several radio telescopes (these use position information from TEMPO2):

  • the Robert C. Byrd Greeen Bank Telescope (GBT),
  • the Parkes Telescope (PKS),
  • the Lovell Telescope at Jodrell Bank (JBO),
  • the Arecibo Telescope (AO),
  • the Effelsberg 100m Radio Telescope (EFF),
  • the Nancay Decimetre Radio Telescope (NRT),
  • the Mount Pleasant Radio Observatory, Hobart (HOB),
  • the Hartebeesthoek Radio Astronomy Observatory (HART),
  • the Very Large Array (VLA),
  • and the Westerbork Synthesis Radio Telescope (WSRT).

Definition in file ssbtodetector.c.

Go to the source code of this file.

Macros

#define USAGE
 

Enumerations

enum  Scopes {
  GBT = 0 , PKS , JBO , AO ,
  EFF , NRT , HOB , HART ,
  VLA , WSRT , NUMSCOPES
}
 

Variables

REAL8 scopelocations [NUMSCOPES][3]
 

Macro Definition Documentation

◆ USAGE

#define USAGE
Value:
"Usage: %s [options]\n\n"\
" --help (-h) display this message\n"\
" --mjd (-m) a MJD time in TDB at the solar system barycenter\n"\
" --gps (-g) a GPS equivalent time in TDB at the solar system barycenter\n"\
" --ra (-r) the source right ascension (e.g. 15:21:34.76)\n"\
" --dec (-d) the source declination (e.g. -09:53:12.36)\n"\
" --telescope (-t) a detector acronym:\n\ GW detectors:\n\ H1/H2 - LIGO Hanford,\n\ L1 - LIGO Livingston,\n\ V1 - Virgo,\n\ G1 - GEO600,\n\ T1 - TAMA300,\n\ Radio Telescopes:\n\ GBT - the Robert C. Byrd Green Bank Telescope,\n\ PKS - the Parkes Telescope,\n\ JBO - the Lovell Telescope at Jodrell Bank,\n\ AO - the Arecibo Telescope,\n\ EFF - the Effelsberg 100m Radio Telescope,\n\ NRT - the Nancay Decimetre Radio Telescope,\n\ HOB - the Mount Pleasant Radio Observatory, Hobart,\n\ HART - the Hartebeesthoek Radio Astronomy Observatory,\n\ VLA - the Very Large Array,\n\ WSRT - the Westerbork Synthesis Radio Telescope.\n"\
"\n"

Definition at line 81 of file ssbtodetector.c.

Enumeration Type Documentation

◆ Scopes

enum Scopes
Enumerator
GBT 
PKS 
JBO 
AO 
EFF 
NRT 
HOB 
HART 
VLA 
WSRT 
NUMSCOPES 

Definition at line 55 of file ssbtodetector.c.

Function Documentation

◆ main()

int main ( int  argc,
char argv[] 
)

Definition at line 108 of file ssbtodetector.c.

Variable Documentation

◆ scopelocations

REAL8 scopelocations[NUMSCOPES][3]
Initial value:
= { { 882589.65, -4924872.32, 3943729.348 },
{ -4554231.5, 2816759.1, -3454036.3 },
{ 3822626.04, -154105.65, 5086486.04 },
{ 2390490.0, -5564764.0, 1994727.0 },
{ 4033949.5, 486989.4, 4900430.8 },
{ 4324165.81, 165927.11, 4670132.83},
{ -3950077.96, 2522377.31, -4311667.52 },
{ 5085442.780, 2668263.483, -2768697.034 },
{ -1601192.0, -5041981.4, 3554871.4 },
{ 3828445.659, 445223.600, 5064921.5677 }
}

Definition at line 70 of file ssbtodetector.c.