LALPulsar  6.1.0.1-89842e6
DetectorStates.c File Reference

Prototypes

int XLALFillDetectorTensor (DetectorState *detState, const LALDetector *detector)
 Function to compute the LWL detector-tensor for the given detector in SSB-fixed cartesian coordinates at time tgps. More...
 
int XLALTensorSquareVector3 (SymmTensor3 *vxv, REAL4 v[3])
 Compute the "squared-tensor" v x v for given vector v, the result is returned in a "detectorTensor" struct. More...
 
int XLALSymmetricTensorProduct3 (SymmTensor3 *vxw, REAL4 v[3], REAL4 w[3])
 Compute the symmetrized tensor product T = v x w + w x v. More...
 
int XLALAddSymmTensor3s (SymmTensor3 *sum, const SymmTensor3 *aT, const SymmTensor3 *bT)
 Convenience function for adding two SymmTensor3s: aT + bT NOTE: it is safe to have sum point to the same tensor-struct as either aT or bT. More...
 
int XLALSubtractSymmTensor3s (SymmTensor3 *diff, const SymmTensor3 *aT, const SymmTensor3 *bT)
 Convenience function for subtracting two SymmTensor3s: aT - bT NOTE: it is safe to have diff point to the same tensor-struct as either aT or bT. More...
 
int XLALScaleSymmTensor3 (SymmTensor3 *mult, const SymmTensor3 *aT, REAL4 factor)
 Convenience function for multiplying a SymmTensor3 by a scalar factor. More...
 
REAL4 XLALContractSymmTensor3s (const SymmTensor3 *T1, const SymmTensor3 *T2)
 Contract two symmetric tensors over both indices T1 : T2. More...
 
void XLALDestroyDetectorStateSeries (DetectorStateSeries *detStates)
 Get rid of a DetectorStateSeries. More...
 
void XLALDestroyMultiDetectorStateSeries (MultiDetectorStateSeries *mdetStates)
 Helper function to get rid of a multi-IFO DetectorStateSeries Note, this is "NULL-robust" in the sense that it will not crash on NULL-entries anywhere in this struct, so it can be used for failure-cleanup even on incomplete structs. More...
 
DetectorStateSeriesXLALCreateDetectorStateSeries (UINT4 length)
 Create a DetectorStateSeries with length entries. More...
 
DetectorStateSeriesXLALGetDetectorStates (const LIGOTimeGPSVector *timestamps, const LALDetector *detector, const EphemerisData *edat, REAL8 tOffset)
 Get the 'detector state' (ie detector-tensor, position, velocity, etc) for the given vector of timestamps, shifted by a common time-shift tOffset. More...
 
MultiDetectorStateSeriesXLALGetMultiDetectorStates (const MultiLIGOTimeGPSVector *multiTS, const MultiLALDetector *multiIFO, const EphemerisData *edat, REAL8 tOffset)
 Get the detector-time series for the given MultiLIGOTimeGPSVector. More...
 
MultiDetectorStateSeriesXLALGetMultiDetectorStatesFromMultiSFTs (const MultiSFTVector *multiSFTs, const EphemerisData *edat, REAL8 tOffset)
 Get the 'detector state' (ie detector-tensor, position, velocity, etc) for the given multi-vector of SFTs, shifted by a common time-shift tOffset. More...
 
int XLALParseMultiNoiseFloor (MultiNoiseFloor *multiNoiseFloor, const LALStringVector *sqrtSX, UINT4 numDetectors)
 Parse string-vectors (typically input by user) of N detector noise-floors \( \sqrt{S_X} \) for detectors \( X=1\ldots N \) , where here we assume equal number of SFTs per detector such that \( S^{-1} = \frac{1}{N}\sum_{X=0}^{N-1} S_X^{-1} \) . More...
 
int XLALParseMultiNoiseFloorMapped (MultiNoiseFloor *multiNoiseFloor, const LALStringVector *multiNoiseFloorDetNames, const LALStringVector *sqrtSX, const LALStringVector *sqrtSXDetNames)
 Parse string-vectors (typically input by user) of N detector noise-floors \( \sqrt{S_X} \) for detectors \( X=1\ldots N \) , where here we assume equal number of SFTs per detector such that \( S^{-1} = \frac{1}{N}\sum_{X=0}^{N-1} S_X^{-1} \) . More...
 
int XLALParseMultiLALDetector (MultiLALDetector *detInfo, const LALStringVector *detNames)
 Parse string-vectors (typically input by user) of N detector-names for detectors \( X=1\ldots N \) , returns a MultiLALDetector struct. More...
 
int XLALMultiLALDetectorFromMultiSFTCatalogView (MultiLALDetector *multiIFO, const MultiSFTCatalogView *multiView)
 Extract multi detector-info from a given multi SFTCatalog view. More...
 
int XLALMultiLALDetectorFromMultiSFTs (MultiLALDetector *multiIFO, const MultiSFTVector *multiSFTs)
 Extract multi detector-info from a given multi SFTCatalog view. More...
 

Go to the source code of this file.

Macros

#define __USE_ISOC99   1
 
#define TRUE   (1==1)
 
#define FALSE   (1==0)
 
#define SQUARE(x)   ((x) * (x))
 

Macro Definition Documentation

◆ __USE_ISOC99

#define __USE_ISOC99   1

Definition at line 22 of file DetectorStates.c.

◆ TRUE

#define TRUE   (1==1)

Definition at line 31 of file DetectorStates.c.

◆ FALSE

#define FALSE   (1==0)

Definition at line 32 of file DetectorStates.c.

◆ SQUARE

#define SQUARE (   x)    ((x) * (x))

Definition at line 35 of file DetectorStates.c.