21 #ifndef _DETRESPONSE_H
22 #define _DETRESPONSE_H
24 #include <lal/LALStdlib.h>
25 #include <lal/LALStdio.h>
26 #include <lal/LALConstants.h>
27 #include <lal/DetectorSite.h>
28 #include <lal/SkyCoordinates.h>
79 #define DETRESPONSEH_ENULLINPUT 1
80 #define DETRESPONSEH_ENULLOUTPUT 2
81 #define DETRESPONSEH_ESRCNOTEQUATORIAL 3
85 #define DETRESPONSEH_MSGENULLINPUT "Input is NULL"
86 #define DETRESPONSEH_MSGENULLOUTPUT "Output is NULL"
87 #define DETRESPONSEH_MSGESRCNOTEQUATORIAL "Source coordinates not in Equatorial system"
124 SWIGLAL(IMMUTABLE_MEMBERS(tagLALDetAndSource, pDetector));
152 tagLALDetAMResponseSeries
167 tagLALTimeIntervalAndNSample
static double psi(double theta, double xi)
void LALComputeDetAMResponse(LALStatus *status, LALDetAMResponse *pResponse, const LALDetAndSource *pDetAndSrc, const LIGOTimeGPS *gps)
int XLALComputeDetAMResponseExtraModesSeries(REAL4TimeSeries **fplus, REAL4TimeSeries **fcross, REAL4TimeSeries **fb, REAL4TimeSeries **fl, REAL4TimeSeries **fx, REAL4TimeSeries **fy, const REAL4 D[3][3], const double ra, const double dec, const double psi, const LIGOTimeGPS *start, const double deltaT, const int n)
Computes REAL4TimeSeries containing time series of the full general metric theory of gravity response...
void XLALComputeDetAMResponseParts(double *armlen, double *xcos, double *ycos, double *fxplus, double *fyplus, double *fxcross, double *fycross, const LALDetector *detector, double ra, double dec, double psi, double gmst)
void XLALComputeDetAMResponse(double *fplus, double *fcross, const REAL4 D[3][3], const double ra, const double dec, const double psi, const double gmst)
An implementation of the detector response formulae in Anderson et al PRD 63 042003 (2001) .
void XLALComputeDetAMResponseExtraModes(double *fplus, double *fcross, double *fb, double *fl, double *fx, double *fy, const REAL4 D[3][3], const double ra, const double dec, const double psi, const double gmst)
An implementation of the detector response for all six tensor, vector and scalar polarisation modes o...
COMPLEX16 XLALComputeDetArmTransferFunction(double beta, double mu)
int XLALComputeDetAMResponseSeries(REAL4TimeSeries **fplus, REAL4TimeSeries **fcross, const REAL4 D[3][3], const double ra, const double dec, const double psi, const LIGOTimeGPS *start, const double deltaT, const int n)
Computes REAL4TimeSeries containing time series of response amplitudes.
void LALComputeDetAMResponseSeries(LALStatus *status, LALDetAMResponseSeries *pResponseSeries, const LALDetAndSource *pDetAndSource, const LALTimeIntervalAndNSample *pTimeInfo)
Computes REAL4TimeSeries containing time series of response amplitudes.
double complex COMPLEX16
Double-precision floating-point complex number (16 bytes total)
double REAL8
Double precision real floating-point number (8 bytes).
char CHAR
One-byte signed integer, see Headers LAL(Atomic)Datatypes.h for more details.
uint32_t UINT4
Four-byte unsigned integer.
float REAL4
Single precision real floating-point number (4 bytes).
This structure encapsulates the detector AM (beam pattern) coefficients for one source at one instanc...
REAL4 plus
Detector response to -polarized gravitational radiation
REAL4 scalar
Detector response to scalar gravitational radiation (NB: ignored at present – scalar response computa...
REAL4 cross
Detector response to -polarized gravitational radiation.
This structure aggregates together three REAL4TimeSeries objects containing time series of detector A...
REAL4TimeSeries * pCross
timeseries of detector response to -polarized gravitational radiation
REAL4TimeSeries * pPlus
timeseries of detector response to -polarized gravitational radiation
REAL4TimeSeries * pScalar
timeseries of detector response to scalar gravitational radiation (NB: not yet implemented....
This structure aggregates a pointer to a LALDetector and a LALSource.
LALSource * pSource
Pointer to LALSource object containing information about the source.
const LALDetector * pDetector
Pointer to LALDetector object containing information about the detector.
This structure contains gravitational wave source position (in Equatorial coördinates),...
SkyPosition equatorialCoords
equatorial coordinates of source, in decimal RADIANS
REAL8 orientation
Orientation angle ( ) of source: counter-clockwise angle -axis makes with a line perpendicular to mer...
LAL status structure, see The LALStatus structure for more details.
This structure encapsulates time and sampling information for computing a LALDetAMResponseSeries.
LIGOTimeGPS epoch
The start time of the time series.
UINT4 nSample
The total number of samples to be computed.
REAL8 deltaT
The sampling interval , in seconds.
Epoch relative to GPS epoch, see LIGOTimeGPS type for more details.
Time series of REAL4 data, see DATATYPE-TimeSeries types for more details.
This structure stores the two spherical coordinates of a sky position; ie a generic latitude and long...