LALPulsar  6.1.0.1-89842e6
LALInitBarycenter.h
Go to the documentation of this file.
1 /*
2 * Copyright (C) 2007 Curt Cutler, Reinhard Prix, Teviet Creighton, Bernd Machenschalk
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 _LALINITBARYCENTER_H /* Protect against double-inclusion */
21 #define _LALINITBARYCENTER_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 #include <lal/LALBarycenter.h>
28 
29 /** \cond DONT_DOXYGEN */
30 
31 /* exported API Function prototypes. */
32 EphemerisData *XLALInitBarycenter( const CHAR *earthEphemerisFile, const CHAR *sunEphemerisFile );
34 
35 int XLALRestrictEphemerisData( EphemerisData *edat, const LIGOTimeGPS *startGPS, const LIGOTimeGPS *endGPS );
36 
37 TimeCorrectionData *XLALInitTimeCorrections( const CHAR *timeCorrectionFile );
39 
40 char *XLALPulsarFileResolvePath( const char *fname );
41 
42 /** \endcond */
43 
44 #ifdef __cplusplus
45 }
46 #endif /* Close C++ protection */
47 
48 #endif /* Close double-include protection */
TimeCorrectionData * XLALInitTimeCorrections(const CHAR *timeCorrectionFile)
An XLAL interface for reading a time correction file containing a table of values for converting betw...
int XLALRestrictEphemerisData(EphemerisData *edat, const LIGOTimeGPS *startGPS, const LIGOTimeGPS *endGPS)
Restrict the EphemerisData 'edat' to the smallest number of entries required to cover the GPS time ra...
void XLALDestroyTimeCorrectionData(TimeCorrectionData *tcd)
Destructor for TimeCorrectionData struct, NULL robust.
void XLALDestroyEphemerisData(EphemerisData *edat)
Destructor for EphemerisData struct, NULL robust.
EphemerisData * XLALInitBarycenter(const CHAR *earthEphemerisFile, const CHAR *sunEphemerisFile)
XLAL interface to reading ephemeris files 'earth' and 'sun', and return ephemeris-data in old backwar...
char CHAR
This structure contains all information about the center-of-mass positions of the Earth and Sun,...
This structure will contain a vector of time corrections used during conversion from TT to TDB/TCB/Te...