Prototypes | |
static REAL8 | LALInferenceFusedFreqDomainLogLikelihood (LALInferenceVariables *currentParams, LALInferenceIFOData *data, LALInferenceModel *model, LALInferenceLikelihoodFlags marginalisationflags) |
static double | integrate_interpolated_log (double h, REAL8 *log_ys, size_t n, double *imean, size_t *imax) |
Integrate interpolated log, returns the mean index in *imax if it is not a NULL pointer. More... | |
static int | get_calib_spline (LALInferenceVariables *vars, const char *ifoname, REAL8Vector **logfreqs, REAL8Vector **amps, REAL8Vector **phases) |
void | LALInferenceInitLikelihood (LALInferenceRunState *runState) |
Initialisation function which reads runState->commaneLine and sets up the likelihood function accordingly. More... | |
LALInferenceVariables | LALInferenceGetInstrinsicParams (LALInferenceVariables *currentParams) |
Get the intrinsic parameters from currentParams. More... | |
static int | checkItemAndAdd (void *item, void **array) |
REAL8 | LALInferenceZeroLogLikelihood (LALInferenceVariables *currentParams, LALInferenceIFOData UNUSED *data, LALInferenceModel UNUSED *model) |
For testing purposes (for instance sampling the prior), likelihood that returns 0.0 = log(1) every time. More... | |
REAL8 | LALInferenceUndecomposedFreqDomainLogLikelihood (LALInferenceVariables *currentParams, LALInferenceIFOData *data, LALInferenceModel *model) |
(log-) likelihood function. More... | |
double | LALInferenceMarginalDistanceLogLikelihood (double dist_min, double dist_max, double OptimalSNR, double d_inner_h, int cosmology, int margphi) |
Compute delta-log-likelihood for given distance min, max and OptimalSNR and d_inner_h when evaluated at 1Mpc cosmology: 0 = Euclidean distance prior , 1 = uniform in comoving volume margphi: 0 = use gaussian likelihood, 1 = phase-marginalised bessel likelihood. More... | |
REAL8 | LALInferenceFreqDomainStudentTLogLikelihood (LALInferenceVariables *currentParams, LALInferenceIFOData *data, LALInferenceModel *model) |
Student-t (log-) likelihood function as described in Roever/Meyer/Christensen (2011): "Modelling coloured residual noise in gravitational-wave signal processing. More... | |
REAL8 | LALInferenceComputeFrequencyDomainOverlap (LALInferenceIFOData *dataPtr, COMPLEX16Vector *freqData1, COMPLEX16Vector *freqData2) |
Computes the <x|y> overlap in the Fourier domain. More... | |
COMPLEX16 | LALInferenceComputeFrequencyDomainComplexOverlap (LALInferenceIFOData *dataPtr, COMPLEX16Vector *freqData1, COMPLEX16Vector *freqData2) |
Computes the complex <x|y> overlap. More... | |
REAL8 | LALInferenceNullLogLikelihood (LALInferenceIFOData *data) |
Identical to LALInferenceFreqDomainNullLogLikelihood, but returns the likelihood of a null template. More... | |
REAL8 | LALInferenceMarginalisedPhaseLogLikelihood (LALInferenceVariables *currentParams, LALInferenceIFOData *data, LALInferenceModel *model) |
REAL8 | LALInferenceMarginalisedTimeLogLikelihood (LALInferenceVariables *currentParams, LALInferenceIFOData *data, LALInferenceModel *model) |
Returns the log-likelihood marginalised over the time dimension from the prior min to the prior max. More... | |
REAL8 | LALInferenceMarginalisedTimePhaseLogLikelihood (LALInferenceVariables *currentParams, LALInferenceIFOData *data, LALInferenceModel *model) |
REAL8 | LALInferenceFastSineGaussianLogLikelihood (LALInferenceVariables *currentParams, LALInferenceIFOData *data, LALInferenceModel *model) |
fast SineGaussian likelihood for LIB More... | |
void | LALInferenceNetworkSNR (LALInferenceVariables *currentParams, LALInferenceIFOData *data, LALInferenceModel *model) |
Calculate the SNR across the network. More... | |
Go to the source code of this file.
Macros | |
#define | omp ignore |
Enumerations | |
enum | LALInferenceLikelihoodFlags { GAUSSIAN = 1 , STUDENTT = 2 , MARGPHI = 4 , MARGTIME = 8 , MARGTIMEPHI = 16 , MARGDIST = 32 } |
Variables | |
const char * | non_intrinsic_params [] |
#define omp ignore |
Definition at line 65 of file LALInferenceLikelihood.c.
Enumerator | |
---|---|
GAUSSIAN | |
STUDENTT | |
MARGPHI | |
MARGTIME | |
MARGTIMEPHI | |
MARGDIST |
Definition at line 47 of file LALInferenceLikelihood.c.
|
static |
Definition at line 324 of file LALInferenceLikelihood.c.
|
static |
Integrate interpolated log, returns the mean index in *imax if it is not a NULL pointer.
Stores the mean index in *imean (can be fractional).
The method used is the trapezoid method, which is quadratically accurate.
Definition at line 1588 of file LALInferenceLikelihood.c.
|
static |
Definition at line 76 of file LALInferenceLikelihood.c.
|
static |
Definition at line 264 of file LALInferenceLikelihood.c.
REAL8 LALInferenceZeroLogLikelihood | ( | LALInferenceVariables * | currentParams, |
LALInferenceIFOData UNUSED * | data, | ||
LALInferenceModel UNUSED * | model | ||
) |
For testing purposes (for instance sampling the prior), likelihood that returns 0.0 = log(1) every time.
Activated with the –zeroLogLike command flag.
Definition at line 282 of file LALInferenceLikelihood.c.
const char* non_intrinsic_params[] |
Definition at line 232 of file LALInferenceLikelihood.c.