Commit eda9291d authored by Tyson Littenberg's avatar Tyson Littenberg
Browse files

get postprocessing working with IFO names

parent d357a0af
This diff is collapsed.
......@@ -198,7 +198,7 @@ def make_skyview(directory='.', mdc=None, NSIDE=128, inj=None, npost=5000):
# -- Input skymap data
print "Extracting RA/DEC samples"
filename = './chains/' + 'signal_params.dat.0'
filename = './chains/' + 'signal_params_h0.dat.0'
data = np.loadtxt(filename, unpack=True,usecols=(0,1,2))
ralist = data[1]
sin_dec = data[2]
......
......@@ -330,10 +330,10 @@ int main(int argc, char *argv[])
bayesline[0][ifo]->power[i] = (asd[2*j]*asd[2*j]+asd[2*j+1]*asd[2*j+1]);
}
fprintf(stdout,"BayesLine search phase for IFO %i\n", ifo);
fprintf(stdout,"BayesLine search phase for IFO %s\n", data->ifos[ifo]);
BayesLineSearch(bayesline[0][ifo]);
//TODO: Does BayesLineRJMCMC use asd?
fprintf(stdout,"BayesLine characterization phase for IFO %i\n", ifo);
fprintf(stdout,"BayesLine characterization phase for IFO %s\n", data->ifos[ifo]);
BayesLineRJMCMC(bayesline[0][ifo], asd, model[0]->Snf[ifo], model[0]->invSnf[ifo], model[0]->SnS[ifo], N, bayesline[0][ifo]->nstep, 1.0, 2);
//Quit lying to BayesLine about the data. Poor BayesLine.
......
This diff is collapsed.
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