00001 /* 00002 * Copyright (C) 2006 Reinhard Prix 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with with program; see the file COPYING. If not, write to the 00016 * Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 00017 * MA 02111-1307 USA 00018 */ 00019 00020 /** 00021 * \author Reinhard Prix 00022 * \date 2006 00023 * \file 00024 * \ingroup pulsar 00025 * \brief Header-file defining the API for the LISA-specific functions 00026 * 00027 * $Id: LISAspecifics.h,v 1.9 2007/12/19 19:44:34 reinhard Exp $ 00028 * 00029 */ 00030 00031 #ifndef _LISASPECIFICS_H /* Double-include protection. */ 00032 #define _LISASPECIFICS_H 00033 00034 /* C++ protection. */ 00035 #ifdef __cplusplus 00036 extern "C" { 00037 #endif 00038 00039 #include <lal/LALRCSID.h> 00040 NRCSID( LISASPECIFICSH, "$Id: LISAspecifics.h,v 1.9 2007/12/19 19:44:34 reinhard Exp $" ); 00041 00042 /*---------- exported INCLUDES ----------*/ 00043 #include <lal/LALDetectors.h> 00044 #include <lal/LALDatatypes.h> 00045 #include <lal/DetectorStates.h> 00046 #include <lal/ComplexAM.h> 00047 00048 /*---------- exported DEFINES ----------*/ 00049 00050 #define LISA_TIME_ORIGIN 700000000; /* ad-hoc setting for MLDC 't=0' to GPS for Tue Mar 12 20:26:27 GMT 2002 */ 00051 00052 /*---------- exported types ----------*/ 00053 /** Translate TDI arm indices to C-indexing */ 00054 typedef enum { 00055 LISA_ARM1 = 0, 00056 LISA_ARM2, 00057 LISA_ARM3 00058 } LISAarmT; 00059 00060 /*---------- exported Global variables ----------*/ 00061 /* empty init-structs for the types defined in here */ 00062 00063 /*---------- exported prototypes [API] ----------*/ 00064 int XLALcreateLISA ( LALDetector *Detector, CHAR channelNum ); 00065 00066 int XLALprecomputeLISAarms ( DetectorState *detState ); 00067 00068 int XLALgetLISADetectorTensorLWL ( SymmTensor3 *detT, const Detector3Arms detArms, CHAR channelNum ); 00069 int XLALgetLISADetectorTensorRAA ( CmplxDetectorTensor *detT, const Detector3Arms detArms, CHAR channelNum, const FreqSkypos_t *freq_skypos ); 00070 00071 #ifdef __cplusplus 00072 } 00073 #endif 00074 /* C++ protection. */ 00075 00076 #endif /* Double-include protection. */
1.5.2