|
char ** | LALInferenceGetHeaderLine (FILE *inp) |
| Returns an array of header strings (terminated by NULL) from a common-format output file. More...
|
|
const char * | LALInferenceTranslateInternalToExternalParamName (const char *inName) |
| Converts between internally used parameter names and those external (e.g. More...
|
|
void | LALInferenceTranslateExternalToInternalParamName (char *outName, const char *inName) |
| Converts between externally used parameter names and those internal. More...
|
|
int | LALInferenceFprintParameterHeaders (FILE *out, LALInferenceVariables *params) |
| Print the parameter names to a file as a tab-separated ASCII line. More...
|
|
INT4 | LALInferenceFprintParameterNonFixedHeaders (FILE *out, LALInferenceVariables *params) |
| Print the parameters which do not vary to a file as a tab-separated ASCII line. More...
|
|
INT4 | LALInferenceFprintParameterNonFixedHeadersWithSuffix (FILE *out, LALInferenceVariables *params, const char *suffix) |
| Print the parameters which do not vary to a file as a tab-separated ASCII line, adding the given suffix. More...
|
|
UINT4 | LALInferencePrintNVariableItem (char *out, UINT4 N, const LALInferenceVariableItem *const ptr) |
| Prints a variable item to a string. More...
|
|
void * | LALInferenceGetVariable (const LALInferenceVariables *vars, const char *name) |
| Return a pointer to the memory the variable vars is stored in specified by name User must cast this pointer to the expected type before dereferencing it to get the value of the variable. More...
|
|
INT4 | LALInferenceGetVariableDimension (LALInferenceVariables *vars) |
| Get number of dimensions in variable vars . More...
|
|
INT4 | LALInferenceGetVariableDimensionNonFixed (LALInferenceVariables *vars) |
| Get number of dimensions in vars which are not fixed to a certain value. More...
|
|
INT4 | LALInferenceGetVariableDimensionNonFixedChooseVectors (LALInferenceVariables *vars, INT4 count_vectors) |
| Get number of dimensions in vars which are not fixed to a certain value, with a flag for skipping counting vectors. More...
|
|
INT4 | LALInferenceGetVariableTypeByIndex (LALInferenceVariables *vars, int idx) |
| Get the LALInferenceVariableType of the idx -th item in the vars Indexing starts at 1. More...
|
|
LALInferenceVariableType | LALInferenceGetVariableType (const LALInferenceVariables *vars, const char *name) |
| Get the LALInferenceVariableType of the parameter named name in vars . More...
|
|
LALInferenceParamVaryType | LALInferenceGetVariableVaryType (LALInferenceVariables *vars, const char *name) |
| Get the LALInferenceParamVaryType of the parameter named name in vars see the declaration of LALInferenceParamVaryType for possibilities. More...
|
|
void | LALInferenceSetParamVaryType (LALInferenceVariables *vars, const char *name, LALInferenceParamVaryType vary) |
| Set the LALInferenceParamVaryType of the parameter named name in vars , see the declaration of LALInferenceParamVaryType for possibilities. More...
|
|
char * | LALInferenceGetVariableName (LALInferenceVariables *vars, int idx) |
| Get the name of the idx-th variable Indexing starts at 1. More...
|
|
void | LALInferenceSetVariable (LALInferenceVariables *vars, const char *name, const void *value) |
| Set a variable named name in vars with a value. More...
|
|
void | LALInferenceAddVariable (LALInferenceVariables *vars, const char *name, const void *value, LALInferenceVariableType type, LALInferenceParamVaryType vary) |
| Add a variable named name to vars with initial value referenced by value . More...
|
|
void | LALInferenceRemoveVariable (LALInferenceVariables *vars, const char *name) |
| Remove name from vars Frees the memory for the name structure and its contents. More...
|
|
int | LALInferenceCheckVariable (LALInferenceVariables *vars, const char *name) |
| Checks for name being present in vars returns 1(==true) or 0. More...
|
|
int | LALInferenceCheckVariableNonFixed (LALInferenceVariables *vars, const char *name) |
| Checks for name being present in vars and having type LINEAR or CIRCULAR. More...
|
|
int | LALInferenceCheckVariableToPrint (LALInferenceVariables *vars, const char *name) |
|
void | LALInferenceClearVariables (LALInferenceVariables *vars) |
| Delete the variables in this structure. More...
|
|
void | LALInferenceCopyVariables (LALInferenceVariables *origin, LALInferenceVariables *target) |
| Deep copy the variables from one to another LALInferenceVariables structure. More...
|
|
void | LALInferenceCopyUnsetREAL8Variables (LALInferenceVariables *origin, LALInferenceVariables *target, ProcessParamsTable *commandLine) |
|
void | LALInferencePrintVariables (LALInferenceVariables *var) |
| Print variables to stdout. More...
|
|
int | LALInferenceCompareVariables (LALInferenceVariables *var1, LALInferenceVariables *var2) |
| Check for equality in two variables. More...
|
|
int | LALInferenceSplineCalibrationFactor (REAL8Vector *freqs, REAL8Vector *deltaAmps, REAL8Vector *deltaPhases, COMPLEX16FrequencySeries *calFactor) |
| Computes the factor relating the physical waveform to a measured waveform for a spline-fit calibration model in amplitude and phase. More...
|
|
int | LALInferenceSplineCalibrationFactorROQ (REAL8Vector *logfreqs, REAL8Vector *deltaAmps, REAL8Vector *deltaPhases, REAL8Sequence *freqNodesLin, COMPLEX16Sequence **calFactorROQLin, REAL8Sequence *freqNodesQuad, COMPLEX16Sequence **calFactorROQQuad) |
| Modified version of LALInferenceSplineCalibrationFactor to compute the calibration factors for the specific frequency nodes used for Reduced Order Quadrature likelihoods. More...
|
|
LALInferenceThreadState * | LALInferenceInitThread (LALInferenceThreadState *thread) |
| Structure to contain data-related Reduced Order Quadrature quantities. More...
|
|
LALInferenceThreadState * | LALInferenceInitThreads (INT4 nthreads) |
|
ProcessParamsTable * | LALInferenceGetProcParamVal (ProcessParamsTable *procparams, const char *name) |
| Returns the element of the process params table with "name". More...
|
|
void | LALInferenceParseCharacterOptionString (char *input, char **strings[], UINT4 *n) |
| parses a character string (passed as one of the options) and decomposes it into individual parameter character strings. More...
|
|
ProcessParamsTable * | LALInferenceParseCommandLine (int argc, char **argv) |
| Return a ProcessParamsTable from the command line arguments. More...
|
|
ProcessParamsTable * | LALInferenceParseStringVector (LALStringVector *arglist) |
| Return a ProcessParamsTrable from a string vector. More...
|
|
ProcessParamsTable * | LALInferenceParseCommandLineStringVector (LALStringVector *args) |
| Return a ProcessParamsTable from the command line arguments (SWIG version) More...
|
|
char * | LALInferencePrintCommandLine (ProcessParamsTable *procparams) |
| Output the command line based on the ProcessParamsTable procparams . More...
|
|
void | LALInferenceExecuteFT (LALInferenceModel *model) |
| Execute FFT for data in IFOdata . More...
|
|
void | LALInferenceExecuteInvFT (LALInferenceModel *model) |
| Execute Inverse FFT for data in IFOdata . More...
|
|
LALInferenceVariableItem * | LALInferenceGetItem (const LALInferenceVariables *vars, const char *name) |
| Return the list node for "name" - do not rely on this. More...
|
|
LALInferenceVariableItem * | LALInferenceGetItemNr (LALInferenceVariables *vars, int idx) |
| Return the list node for the idx-th item - do not rely on this Indexing starts at 1. More...
|
|
LALInferenceVariableItem * | LALInferencePopVariableItem (LALInferenceVariables *vars, const char *name) |
| Pop the list node for "name". More...
|
|
void | LALInferencePrintSample (FILE *fp, LALInferenceVariables *sample) |
| Output the sample to file *fp, in ASCII format. More...
|
|
void | LALInferencePrintSampleNonFixed (FILE *fp, LALInferenceVariables *sample) |
| Output only non-fixed parameters. More...
|
|
void | LALInferencePrintSplineCalibration (FILE *fp, LALInferenceThreadState *thread) |
| Output spline calibration parameters. More...
|
|
void | LALInferenceReadSampleNonFixed (FILE *fp, LALInferenceVariables *sample) |
| Read in the non-fixed parameters from the given file (position in the file must be arranged properly before calling this function). More...
|
|
REAL8 * | LALInferenceParseDelimitedAscii (FILE *input, INT4 nCols, INT4 *wantedCols, INT4 *nLines) |
| Utility for readling in delimited ASCII files. More...
|
|
void | parseLine (char *record, const char *delim, char arr[][VARNAME_MAX], INT4 *cnt) |
| Parse a single line of delimited ASCII. More...
|
|
void | LALInferenceDiscardPTMCMCHeader (FILE *filestream) |
| Discard the standard header of a PTMCMC chain file. More...
|
|
void | LALInferenceBurninPTMCMC (FILE *filestream, INT4 logl_idx, INT4 nPar) |
| Determine burnin cycle from delta-logl criteria. More...
|
|
void | LALInferenceBurninStream (FILE *filestream, INT4 burnin) |
| Burn-in a generic ASCII stream. More...
|
|
void | LALInferenceReadAsciiHeader (FILE *input, char params[][VARNAME_MAX], INT4 *nCols) |
| Read column names from an ASCII file. More...
|
|
REAL8 ** | LALInferenceSelectColsFromArray (REAL8 **inarray, INT4 nRows, INT4 nCols, INT4 nSelCols, INT4 *selCols) |
| Utility for selecting columns from an array, in the specified order. More...
|
|
int | LALInferencePrintProposalStatsHeader (FILE *fp, LALInferenceProposalCycle *cycle) |
| Output proposal statistics header to file *fp. More...
|
|
void | LALInferencePrintProposalStats (FILE *fp, LALInferenceProposalCycle *cycle) |
| Output proposal statistics to file *fp. More...
|
|
void | LALInferenceProcessParamLine (FILE *inp, char **headers, LALInferenceVariables *vars) |
| Reads one line from the given file and stores the values there into the variable structure, using the given header array to name the columns. More...
|
|
void | LALInferenceSortVariablesByName (LALInferenceVariables *vars) |
| Sorts the variable structure by name. More...
|
|
INT4 | LALInferenceThinnedBufferToArray (LALInferenceThreadState *thread, REAL8 **DEarray, INT4 step) |
| LALInferenceVariable buffer to array and vica versa. More...
|
|
INT4 | LALInferenceBufferToArray (LALInferenceThreadState *thread, REAL8 **DEarray) |
|
void | LALInferenceCopyVariablesToArray (LALInferenceVariables *origin, REAL8 *target) |
| LALInference variables to an array, and vica versa. More...
|
|
void | LALInferenceCopyArrayToVariables (REAL8 *origin, LALInferenceVariables *target) |
|
void | LALInferenceLogSampleToFile (LALInferenceVariables *algorithmParams, LALInferenceVariables *vars) |
| Append the sample to a file. More...
|
|
void | LALInferenceLogSampleToArray (LALInferenceVariables *algorithmParams, LALInferenceVariables *vars) |
| Append the sample to an array which can be later processed by the user. More...
|
|
void | LALInferenceMcEta2Masses (double mc, double eta, double *m1, double *m2) |
| Convert from Mc, eta space to m1, m2 space (note m1 > m2). More...
|
|
void | LALInferenceMcQ2Masses (double mc, double q, double *m1, double *m2) |
| Convert from Mc, q space to m1, m2 space (q = m2/m1, with m1 > m2). More...
|
|
void | LALInferenceQ2Eta (double q, double *eta) |
| Convert from q to eta (q = m2/m1, with m1 > m2). More...
|
|
void | LALInferencedQuadMonSdQuadMonA (REAL8 dQuadMonS, REAL8 dQuadMonA, REAL8 *dQuadMon1, REAL8 *dQuadMon2) |
| Convert from dQuadMonS, dQuadMonA to dQuadMon1, dQuadMon2. More...
|
|
void | LALInferenceLambdaTsEta2Lambdas (REAL8 lambdaT, REAL8 dLambdaT, REAL8 eta, REAL8 *lambda1, REAL8 *lambda2) |
| Convert from lambdaT, dLambdaT, and eta to lambda1 and lambda2. More...
|
|
void | LALInferenceLogp1GammasMasses2Lambdas (REAL8 logp1, REAL8 gamma1, REAL8 gamma2, REAL8 gamma3, REAL8 mass1, REAL8 mass2, REAL8 *lambda1, REAL8 *lambda2) |
| Calculate lambda1,2(m1,2|eos(logp1,gamma1,gamma2,gamma3)) More...
|
|
void | LALInferenceSDGammasMasses2Lambdas (REAL8 gamma[], REAL8 mass1, REAL8 mass2, REAL8 *lambda1, REAL8 *lambda2, int size) |
| Convert from spectral parameters to lambda1, lambda2. More...
|
|
int | LALInferenceEOSPhysicalCheck (LALInferenceVariables *params, ProcessParamsTable *commandLine) |
| Check for causality violation and mass conflict given masses and eos. More...
|
|
double | AdiabaticIndex (double gamma[], double x, int size) |
| Specral decomposition of eos's adiabatic index. More...
|
|
int | LALInferenceSDGammaCheck (double gamma[], int size) |
| Determine if the Adiabatic index is within 'prior' range. More...
|
|
void | LALInferenceKDTreeDelete (LALInferenceKDTree *tree) |
| Delete a kD-tree. More...
|
|
LALInferenceKDTree * | LALInferenceKDEmpty (REAL8 *lowerLeft, REAL8 *upperRight, size_t ndim) |
| Constructs a fresh, empty kD tree. More...
|
|
int | LALInferenceKDAddPoint (LALInferenceKDTree *tree, REAL8 *pt) |
| Adds a point to the kD-tree, returns 0 on successful exit. More...
|
|
LALInferenceKDTree * | LALInferenceKDFindCell (LALInferenceKDTree *tree, REAL8 *pt, size_t Npts) |
| Returns the first cell that contains the given point that also contains fewer than Npts points, if possible. More...
|
|
double | LALInferenceKDLogCellVolume (LALInferenceKDTree *cell) |
| Returns the log of the volume of the given cell, which is part of the given tree. More...
|
|
double | LALInferenceKDLogCellEigenVolume (LALInferenceKDTree *cell) |
| Returns the log of the volume of the box aligned with the principal axes of the points in the given cell that tightly encloses those points. More...
|
|
void | LALInferenceKDVariablesToREAL8 (LALInferenceVariables *params, REAL8 *pt, LALInferenceVariables *templt) |
| Fills in the given REAL8 array with the parameter values from params; the ordering of the variables is taken from the order of the non-fixed variables in templt . More...
|
|
void | LALInferenceKDREAL8ToVariables (LALInferenceVariables *params, REAL8 *pt, LALInferenceVariables *templt) |
| Fills in the non-fixed variables in params from the given REAL8 array. More...
|
|
void | LALInferenceKDDrawEigenFrame (gsl_rng *rng, LALInferenceKDTree *tree, REAL8 *pt, size_t Npts) |
| Draws a pt uniformly from a randomly chosen cell of tree . More...
|
|
REAL8 | LALInferenceKDLogProposalRatio (LALInferenceKDTree *tree, REAL8 *current, REAL8 *proposed, size_t Npts) |
| Returns the log of the jump proposal probability ratio for the LALInferenceKDDrawEigenFrame() proposal to propose the point proposed given the current position current , where Npts is the parameter used to select the box to draw from in LALInferenceKDDrawEigenFrame(). More...
|
|
UINT4 | LALInferenceCheckPositiveDefinite (gsl_matrix *matrix, UINT4 dim) |
| Check matrix is positive definite. More...
|
|
void | XLALMultiNormalDeviates (REAL4Vector *vector, gsl_matrix *matrix, UINT4 dim, RandomParams *randParam) |
| Draw a random multivariate vector from Gaussian distr given covariance matrix. More...
|
|
void | XLALMultiStudentDeviates (REAL4Vector *vector, gsl_matrix *matrix, UINT4 dim, UINT4 n, RandomParams *randParam) |
| Draw a random multivariate vector from student-t distr given covariance matrix. More...
|
|
REAL8 | LALInferenceAngularDistance (REAL8 a1, REAL8 a2) |
| Calculate shortest angular distance between a1 and a2 (modulo 2PI) More...
|
|
REAL8 | LALInferenceAngularVariance (LALInferenceVariables **list, const char *pname, int N) |
| Calculate the variance of a distribution on an angle (modulo 2PI) More...
|
|
INT4 | LALInferenceSanityCheck (LALInferenceRunState *state) |
| Sanity check the structures in the given state. More...
|
|
void | LALInferenceDumpWaveforms (LALInferenceModel *model, const char *basefilename) |
| Dump all waveforms from the ifodata structure. More...
|
|
int | LALInferenceWriteVariablesBinary (FILE *file, LALInferenceVariables *vars) |
| Write a LALInferenceVariables as binary to a given FILE pointer, returns the number of items written (should be the dimension of the variables) or -1 on error. More...
|
|
LALInferenceVariables * | LALInferenceReadVariablesBinary (FILE *stream) |
| Read from the given FILE * a LALInferenceVariables, which was previously written with LALInferenceWriteVariablesBinary() Returns a new LALInferenceVariables. More...
|
|
int | LALInferenceWriteVariablesArrayBinary (FILE *file, LALInferenceVariables **vars, UINT4 N) |
| Write an array N of LALInferenceVariables to the given FILE * using LALInferenceWriteVariablesBinary(). More...
|
|
int | LALInferenceReadVariablesArrayBinary (FILE *file, LALInferenceVariables **vars, UINT4 N) |
| Read N LALInferenceVariables from the binary FILE *file, previously written with LALInferenceWriteVariablesArrayBinary() returns the number read. More...
|
|
int | LALInferenceWriteRunStateBinary (FILE *file, LALInferenceRunState *state) |
| Write the LALInferenceVariables contents of runState to a file in binary format. More...
|
|
int | LALInferenceReadRunStateBinary (FILE *file, LALInferenceRunState *state) |
| Reads the file and populates LALInferenceVariables in the runState that were saved with LALInferenceReadVariablesArrayBinary() More...
|
|
void | LALInferenceAddINT4Variable (LALInferenceVariables *vars, const char *name, INT4 value, LALInferenceParamVaryType vary) |
|
INT4 | LALInferenceGetINT4Variable (LALInferenceVariables *vars, const char *name) |
|
void | LALInferenceSetINT4Variable (LALInferenceVariables *vars, const char *name, INT4 value) |
|
void | LALInferenceAddINT8Variable (LALInferenceVariables *vars, const char *name, INT8 value, LALInferenceParamVaryType vary) |
|
INT8 | LALInferenceGetINT8Variable (LALInferenceVariables *vars, const char *name) |
|
void | LALInferenceSetINT8Variable (LALInferenceVariables *vars, const char *name, INT8 value) |
|
void | LALInferenceAddUINT4Variable (LALInferenceVariables *vars, const char *name, UINT4 value, LALInferenceParamVaryType vary) |
|
UINT4 | LALInferenceGetUINT4Variable (LALInferenceVariables *vars, const char *name) |
|
void | LALInferenceSetUINT4Variable (LALInferenceVariables *vars, const char *name, UINT4 value) |
|
void | LALInferenceAddREAL4Variable (LALInferenceVariables *vars, const char *name, REAL4 value, LALInferenceParamVaryType vary) |
|
REAL4 | LALInferenceGetREAL4Variable (LALInferenceVariables *vars, const char *name) |
|
void | LALInferenceSetREAL4Variable (LALInferenceVariables *vars, const char *name, REAL4 value) |
|
void | LALInferenceAddREAL8Variable (LALInferenceVariables *vars, const char *name, REAL8 value, LALInferenceParamVaryType vary) |
|
REAL8 | LALInferenceGetREAL8Variable (LALInferenceVariables *vars, const char *name) |
|
void | LALInferenceSetREAL8Variable (LALInferenceVariables *vars, const char *name, REAL8 value) |
|
void | LALInferenceAddCOMPLEX8Variable (LALInferenceVariables *vars, const char *name, COMPLEX8 value, LALInferenceParamVaryType vary) |
|
COMPLEX8 | LALInferenceGetCOMPLEX8Variable (LALInferenceVariables *vars, const char *name) |
|
void | LALInferenceSetCOMPLEX8Variable (LALInferenceVariables *vars, const char *name, COMPLEX8 value) |
|
void | LALInferenceAddCOMPLEX16Variable (LALInferenceVariables *vars, const char *name, COMPLEX16 value, LALInferenceParamVaryType vary) |
|
COMPLEX16 | LALInferenceGetCOMPLEX16Variable (LALInferenceVariables *vars, const char *name) |
|
void | LALInferenceSetCOMPLEX16Variable (LALInferenceVariables *vars, const char *name, COMPLEX16 value) |
|
void | LALInferenceAddgslMatrixVariable (LALInferenceVariables *vars, const char *name, gsl_matrix *value, LALInferenceParamVaryType vary) |
|
gsl_matrix * | LALInferenceGetgslMatrixVariable (LALInferenceVariables *vars, const char *name) |
|
void | LALInferenceSetgslMatrixVariable (LALInferenceVariables *vars, const char *name, gsl_matrix *value) |
|
void | LALInferenceAddREAL8VectorVariable (LALInferenceVariables *vars, const char *name, REAL8Vector *value, LALInferenceParamVaryType vary) |
|
REAL8Vector * | LALInferenceGetREAL8VectorVariable (LALInferenceVariables *vars, const char *name) |
|
void | LALInferenceSetREAL8VectorVariable (LALInferenceVariables *vars, const char *name, REAL8Vector *value) |
|
void | LALInferenceAddCOMPLEX16VectorVariable (LALInferenceVariables *vars, const char *name, COMPLEX16Vector *value, LALInferenceParamVaryType vary) |
|
COMPLEX16Vector * | LALInferenceGetCOMPLEX16VectorVariable (LALInferenceVariables *vars, const char *name) |
|
void | LALInferenceSetCOMPLEX16VectorVariable (LALInferenceVariables *vars, const char *name, COMPLEX16Vector *value) |
|
void | LALInferenceAddINT4VectorVariable (LALInferenceVariables *vars, const char *name, INT4Vector *value, LALInferenceParamVaryType vary) |
|
void | LALInferenceAddUINT4VectorVariable (LALInferenceVariables *vars, const char *name, UINT4Vector *value, LALInferenceParamVaryType vary) |
|
INT4Vector * | LALInferenceGetINT4VectorVariable (LALInferenceVariables *vars, const char *name) |
|
UINT4Vector * | LALInferenceGetUINT4VectorVariable (LALInferenceVariables *vars, const char *name) |
|
void | LALInferenceSetINT4VectorVariable (LALInferenceVariables *vars, const char *name, INT4Vector *value) |
|
void | LALInferenceSetUINT4VectorVariable (LALInferenceVariables *vars, const char *name, UINT4Vector *value) |
|
void | LALInferenceAddMCMCrunphase_ptrVariable (LALInferenceVariables *vars, const char *name, LALInferenceMCMCRunPhase *value, LALInferenceParamVaryType vary) |
|
LALInferenceMCMCRunPhase * | LALInferenceGetMCMCrunphase_ptrVariable (LALInferenceVariables *vars, const char *name) |
|
void | LALInferenceSetMCMCrunphase_ptrVariable (LALInferenceVariables *vars, const char *name, LALInferenceMCMCRunPhase *value) |
|
void | LALInferenceAddstringVariable (LALInferenceVariables *vars, const char *name, const CHAR *value, LALInferenceParamVaryType vary) |
|
const CHAR * | LALInferenceGetstringVariable (LALInferenceVariables *vars, const char *name) |
|
void | LALInferenceSetstringVariable (LALInferenceVariables *vars, const char *name, const CHAR *value) |
|
void | LALInferenceFprintSplineCalibrationHeader (FILE *output, LALInferenceThreadState *thread) |
| Print spline calibration parameter names as tab-separated ASCII. More...
|
|
void | LALInferenceBinaryLove (LALInferenceVariables *vars, REAL8 *lambda1, REAL8 *lambda2) |
| Compute Tidal deformabilities following BinaryLove Universal relations. More...
|
|
void | LALInferenceDetFrameToEquatorial (LALDetector *det0, LALDetector *det1, REAL8 t0, REAL8 alpha, REAL8 theta, REAL8 *tg, REAL8 *ra, REAL8 *dec) |
| Conversion routines between Equatorial (RA,DEC) and detector-based coordinate systems, where new "north pole" points along vector from det0 to det1. More...
|
|
void | LALInferenceEquatorialToDetFrame (LALDetector *det0, LALDetector *det1, REAL8 tg, REAL8 ra, REAL8 dec, REAL8 *t0, REAL8 *alpha, REAL8 *theta) |
|