26#include <lal/GenerateInspiral.h>
27#include <lal/LALInference.h>
28#include <lal/FrequencySeries.h>
30#include <lal/StringInput.h>
31#include <lal/TimeSeries.h>
32#include <lal/LALInferencePrior.h>
33#include <lal/LALInferenceReadData.h>
34#include <lal/LALInferenceLikelihood.h>
35#include <lal/LALInferenceTemplate.h>
36#include <lal/LALInferenceProposal.h>
37#include <lal/LALInferenceInit.h>
38#include <lal/LALInferenceCalibrationErrors.h>
39#include <lal/LALInferenceVCSInfo.h>
44int main(
int argc,
char *argv[]){
47 LALInferenceInjectedLike:\n\
48 Print the injected values of parameters and (delta)LogL/P \n";
62 fprintf(stdout,
"\n\nLALInference version:%s,%s,%s,%s,%s\n\n",
lalInferenceVCSInfo.
vcsId,
lalInferenceVCSInfo.
vcsDate,
lalInferenceVCSInfo.
vcsBranch,
lalInferenceVCSInfo.
vcsAuthor,
lalInferenceVCSInfo.
vcsStatus);
70 if (state!=NULL && !helpflag){
76 fprintf(stderr,
"Must specify --outfile <filename.dat> or --outhdf <filename.h5>\n");
84 fprintf(stderr,
"run state not allocated (%s, line %d).\n",
92 if (state&&!helpflag){
105 fprintf(stderr,
"done LALInferenceSetupROQdata\n");
ProcessParamsTable * LALInferenceParseCommandLine(int argc, char *argv[])
void LALInferenceApplyCalibrationErrors(LALInferenceIFOData *IFOdata, ProcessParamsTable *commandLine)
LALInferenceRunState * LALInferenceInitRunState(ProcessParamsTable *command_line)
void LALInferenceInitCBCThreads(LALInferenceRunState *run_state, INT4 nthreads)
int main(int argc, char *argv[])
void LALInferenceInjectInspiralSignal(LALInferenceIFOData *IFOdata, ProcessParamsTable *commandLine)
const LALVCSInfo lalInferenceVCSInfo
VCS and build information for LALInference.
ProcessParamsTable * LALInferenceGetProcParamVal(ProcessParamsTable *procparams, const char *name)
Returns the element of the process params table with "name".
void LALInferenceInitLikelihood(LALInferenceRunState *runState)
Initialisation function which reads runState->commaneLine and sets up the likelihood function accordi...
void LALInferenceInitCBCPrior(LALInferenceRunState *runState)
Initialize the prior based on command line arguments.
void LALInferenceSetupROQdata(LALInferenceIFOData *IFOdata, ProcessParamsTable *commandLine)
LALInferenceVariables * LALInferencePrintInjectionSample(LALInferenceRunState *runState)
Function to output a sample with logL values etc for the injection, if one is made.
Structure to contain IFO data.
Structure containing inference run state This includes pointers to the function types required to run...
ProcessParamsTable * commandLine
struct tagLALInferenceIFOData * data
Log sample, i.e.
const char *const vcsDate
const char *const vcsStatus
const char *const vcsAuthor
const char *const vcsBranch