Loading [MathJax]/extensions/TeX/AMSsymbols.js
LAL 7.7.0.1-5e288d3
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
TimeDelay.h
Go to the documentation of this file.
1/*
2* Copyright (C) 2007 Alexander Dietz, Drew Keppel, Duncan Brown, David Chin, Jolien Creighton, Kipp Cannon, Stephen Fairhurst
3*
4* This program is free software; you can redistribute it and/or modify
5* it under the terms of the GNU General Public License as published by
6* the Free Software Foundation; either version 2 of the License, or
7* (at your option) any later version.
8*
9* This program is distributed in the hope that it will be useful,
10* but WITHOUT ANY WARRANTY; without even the implied warranty of
11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12* GNU General Public License for more details.
13*
14* You should have received a copy of the GNU General Public License
15* along with with program; see the file COPYING. If not, write to the
16* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17* MA 02110-1301 USA
18*/
19
20#ifndef _TIMEDELAY_H
21#define _TIMEDELAY_H
22
23#include <lal/LALDatatypes.h>
24#include <lal/LALDetectors.h>
25
26#ifdef __cplusplus
27extern "C"
28{
29#endif
30
31
32/**
33 * \defgroup TimeDelay_h Header TimeDelay.h
34 * \ingroup lal_date
35 * \author David Chin, Kipp Cannon
36 *
37 * \brief Provides routines to compute time delay between two detectors
38 *
39 * ### Synopsis ###
40 *
41 * \code
42 * #include <lal/TimeDelay.h>
43 * \endcode
44 *
45 * ### Description ###
46 *
47 * The function XLALTimeDelayFromEarthCenter() Computes difference in arrival
48 * time of the same signal at detector and at center of Earth-fixed frame.
49 *
50 * The function XLALLightTravelTime() computes the light travel time between two detectors and returns the answer in \c INT8 nanoseconds.
51 *
52 * The function XLALPopulateAccuracyParams() creates an instance of InspiralAccuracyList populated with
53 * the light-travel times between the detectors, using just the previous function.
54 * The function XLALPopulateAccuracyParamsExt(), however, creates an instance of InspiralAccuracyList
55 * populated with the \c real travel time of a putative signal for the given time and the given sky
56 * location (in right ascension and declination, both given in degrees).
57 *
58 * ### Algorithm ###
59 *
60 * TBA. See Anderson, <em>et al.</em> \cite ABCCRW_2001 in the mean time.
61 *
62 * Note that GPS time is passed with both the detectors. The GPS time of the
63 * second detector is \e ignored, and the GPS time for the first detector
64 * is taken to be the time when the signal arrives at the center of the
65 * Earth. In practice, this time will be the time of detection of a signal at
66 * the first detector, but, as in Anderson, <em>et al.</em>, we make this
67 * approximation as it makes little difference. This time is used to compute
68 * a GMST which gives us the orientation of the Earth.
69 *
70 */
71/** @{ */
72
73
74/*
75 * Function prototypes
76 */
77
78double
80 const double detector1_earthfixed_xyz_metres[3],
81 const double detector2_earthfixed_xyz_metres[3],
82 const double source_right_ascension_radians,
83 const double source_declination_radians,
84 const LIGOTimeGPS *gpstime
85);
86
87
88INT8
90 const LALDetector *bDet
91 );
92
93
96 const double detector_earthfixed_xyz_metres[3],
97 double source_right_ascension_radians,
98 double source_declination_radians,
99 const LIGOTimeGPS *gpstime
100);
101
102/** @} */
103
104#ifdef __cplusplus
105}
106#endif
107
108#endif /* !defined _TIMEDELAY_H */
double REAL8
Double precision real floating-point number (8 bytes).
int64_t INT8
Eight-byte signed integer; on some platforms this is equivalent to long int instead.
REAL8 XLALTimeDelayFromEarthCenter(const double detector_earthfixed_xyz_metres[3], double source_right_ascension_radians, double source_declination_radians, const LIGOTimeGPS *gpstime)
Compute difference in arrival time of the same signal at detector and at center of Earth-fixed frame.
Definition: TimeDelay.c:83
double XLALArrivalTimeDiff(const double detector1_earthfixed_xyz_metres[3], const double detector2_earthfixed_xyz_metres[3], const double source_right_ascension_radians, const double source_declination_radians, const LIGOTimeGPS *gpstime)
UNDOCUMENTED.
Definition: TimeDelay.c:37
INT8 XLALLightTravelTime(const LALDetector *aDet, const LALDetector *bDet)
Compute the light travel time between two detectors and returns the answer in INT8 nanoseconds.
Definition: TimeDelay.c:105
Detector structure.
Definition: LALDetectors.h:278
Epoch relative to GPS epoch, see LIGOTimeGPS type for more details.
Definition: LALDatatypes.h:458