Skip to content
Snippets Groups Projects

output 'fairdraw' psds in absence of bayesline

Merged Tyson Littenberg requested to merge tyson-littenberg/bayeswave:no-bayesline-psd into master
1 file
+ 18
0
Compare changes
  • Side-by-side
  • Inline
+ 18
0
@@ -445,6 +445,23 @@ int main(int argc, char *argv[])
}
fprintf(stdout,"\n");
}
else
{
/*
Here is an ugly hack:
BayesWavePost expects a psd for its IFO-cache argument.
The bayeswave_pipe script defaults to using the fairdraw output from BayesLine
e.g. --[IFO]-cache interp:[rundir]/[IFO]_fairdraw_asd.dat
which doesn't exist when running w/out BayesLine, e.g. simulated data for review
purposes. Here we print a file with the right name and content so that bayeswave_pipe
doesn't have to decide what to use for the cache argument.
TODO: rethink naming to keep people out of trouble
*/
export_cleaned_data(data, model[0]);
}
//Restore chain size to requested value
chain->NC=NC;
@@ -576,6 +593,7 @@ int main(int argc, char *argv[])
data->fullModelFlag = 0;
}
if(data->cleanModelFlag)
{
Loading