Commit 0854b939 authored by Matthew David Pitkin's avatar Matthew David Pitkin

ppe_inject.c: allow option for injections to be created without having to...

ppe_inject.c: allow option for injections to be created without having to perform parametere estimation on them
Original: 44cdd8036e4fea84181dae56e3d70739c1319a75
parent 2ea8e093
......@@ -408,6 +408,11 @@ void inject_signal( LALInferenceRunState *runState ){
ifo_model = runState->threads[0]->model->ifo;
PulsarFreeParams( injpars ); /* free memory */
/* check if we only want to create and output an injection file and not analyse it yet */
if ( LALInferenceGetProcParamVal( commandLine, "--inject-file" ) && LALInferenceGetProcParamVal( commandLine, "--inject-only" ) ){
exit(0); /* exit the code */
}
}
/*-------------------- END OF SOFTWARE INJECTION FUNCTIONS -------------------*/
......
......@@ -281,6 +281,9 @@ extern "C" {
will be injected\n"\
" --inject-output a filename to which the injected signal will be\n\
output if specified\n"\
" --inject-only do not perform nested sampling on a created injection\n\
provided that injection has been output (i.e. exit the code\n\
after creation of and writing out of the injection).\n"\
" --fake-data a list of IFO's for which fake data will be generated\n\
e.g. H1,L1 (delimited by commas). Unless the --fake-psd\n\
flag is set the power spectral density for the data will\n\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment