LALPulsar  6.1.0.1-c9a8ef6
FstatisticTools.c File Reference

Prototypes

int XLALEstimatePulsarAmplitudeParams (PulsarCandidate *pulsarParams, const LIGOTimeGPS *FaFb_refTime, const COMPLEX8 Fa, const COMPLEX8 Fb, const AntennaPatternMatrix *Mmunu)
 Estimate the amplitude parameters of a pulsar CW signal, given its phase parameters, constituent parts of the \( \mathcal{F} \) -statistic, and antenna pattern matrix. More...
 
int XLALAmplitudeParams2Vect (PulsarAmplitudeVect A_Mu, const PulsarAmplitudeParams Amp)
 Convert amplitude params from 'physical' coordinates \( (h_0, \cos\iota, \psi, \phi_0) \) into 'canonical' coordinates \( A^\mu = (A_1, A_2, A_3, A_4) \) . More...
 
int XLALAmplitudeVect2Params (PulsarAmplitudeParams *Amp, const PulsarAmplitudeVect A_Mu)
 Compute amplitude params \( (h_0, \cos\iota, \psi, \phi_0) \) from amplitude-vector \( A^\mu = (A_1, A_2, A_3, A_4) \) . More...
 
REAL8 XLALComputeOptimalSNR2FromMmunu (const PulsarAmplitudeParams pap, const AntennaPatternMatrix Mmunu)
 Calculates the 'optimal' / perfect-match squared signal-to-noise ratio (SNR^2) for a CW signal for given PulsarAmplitudeParameters 'pap' and Antenna Pattern Matrix 'Mmunu'. More...
 

Go to the source code of this file.

Macros

#define SQ(x)   ( (x) * (x) )
 
#define MYSIGN(x)   ( ((x) < 0) ? (-1.0):(+1.0) )
 

Macro Definition Documentation

◆ SQ

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

Definition at line 37 of file FstatisticTools.c.

◆ MYSIGN

#define MYSIGN (   x)    ( ((x) < 0) ? (-1.0):(+1.0) )

Definition at line 38 of file FstatisticTools.c.