LALPulsar  6.1.0.1-89842e6
LALComputeAM.c File Reference

Prototypes

static REAL4 estimateAntennaPatternConditionNumber (REAL4 A, REAL4 B, REAL4 C, REAL4 E)
 estimate condition number for given antenna-pattern matrix More...
 
int XLALComputeAntennaPatternCoeffs (REAL8 *ai, REAL8 *bi, const SkyPosition *skypos, const LIGOTimeGPS *tGPS, const LALDetector *site, const EphemerisData *edat)
 Compute single time-stamp antenna-pattern coefficients a(t), b(t) Note: this function uses REAL8 precision, so this can be used in high-precision integration of the F-metric. More...
 
int XLALWeightMultiAMCoeffs (MultiAMCoeffs *multiAMcoef, const MultiNoiseWeights *multiWeights)
 Replace AM-coeffs by weighted AM-coeffs, i.e. More...
 
AMCoeffsXLALComputeAMCoeffs (const DetectorStateSeries *DetectorStates, SkyPosition skypos)
 Compute the 'amplitude coefficients' \( a(t)\sin\zeta \) , \( b(t)\sin\zeta \) as defined in [9] for a series of timestamps. More...
 
MultiAMCoeffsXLALComputeMultiAMCoeffs (const MultiDetectorStateSeries *multiDetStates, const MultiNoiseWeights *multiWeights, SkyPosition skypos)
 Multi-IFO version of XLALComputeAMCoeffs(). More...
 
AMCoeffsXLALCreateAMCoeffs (UINT4 numSteps)
 Create an AMCeoffs vector for given number of timesteps. More...
 
void XLALDestroyMultiAMCoeffs (MultiAMCoeffs *multiAMcoef)
 Destroy a MultiAMCoeffs structure. More...
 
void XLALDestroyAMCoeffs (AMCoeffs *amcoef)
 Destroy a AMCoeffs structure. More...
 
REAL4 XLALComputeAntennaPatternSqrtDeterminant (REAL4 A, REAL4 B, REAL4 C, REAL4 E)
 Compute (sqrt of) determinant of the antenna-pattern matrix Mmunu = [ A, C, 0, -E; C B E, 0; 0 E A C; -Ed 0 C B; ] which is det(Mmunu) = ( A B - C^2 - E^2 )^2;. More...
 
void XLALSetAntennaPatternMaxCond (REAL4 max_cond)
 Set a new module-local maximal acceptable condition number of computing antenna-pattern matrix determinant. More...
 
void XLALSetAntennaPatternIllCondDeterminant (REAL4 illCondDeterminant)
 Set the 'fallback' determinant to use for ill-conditioned antenna-pattern matrix. More...
 

Go to the source code of this file.

Macros

#define SQ(x)   (x) * (x)
 

Variables

static REAL4 AntennaPatternMaxCond = 1e4
 
static REAL4 AntennaPatternIllCondDeterminant = INFINITY
 

Macro Definition Documentation

◆ SQ

#define SQ (   x)    (x) * (x)

Definition at line 60 of file LALComputeAM.c.

Function Documentation

◆ estimateAntennaPatternConditionNumber()

static REAL4 estimateAntennaPatternConditionNumber ( REAL4  A,
REAL4  B,
REAL4  C,
REAL4  E 
)
inlinestatic

estimate condition number for given antenna-pattern matrix

Definition at line 518 of file LALComputeAM.c.

Variable Documentation

◆ AntennaPatternMaxCond

REAL4 AntennaPatternMaxCond = 1e4
static

Definition at line 62 of file LALComputeAM.c.

◆ AntennaPatternIllCondDeterminant

REAL4 AntennaPatternIllCondDeterminant = INFINITY
static

Definition at line 63 of file LALComputeAM.c.