Skip to content
Snippets Groups Projects
Commit 7ce30415 authored by Tyson Littenberg's avatar Tyson Littenberg
Browse files

output 'fairdraw' psds in absence of bayesline

parent e9bdb533
No related branches found
No related tags found
1 merge request!111output 'fairdraw' psds in absence of bayesline
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment