diff options
Diffstat (limited to 'mc_unitary.py')
| -rwxr-xr-x | mc_unitary.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/mc_unitary.py b/mc_unitary.py index af0220a..12a2db2 100755 --- a/mc_unitary.py +++ b/mc_unitary.py @@ -118,18 +118,6 @@ def gen_identifier(args): return f -def gen_figtext(args, asimov_paramset): - f = '' - f += 'Source ratio = {0}'.format( - misc_utils.solve_ratio(args.source_ratio) - ) - for param in asimov_paramset: - f += '\nInjected {0:20s} = {1:.3f}'.format( - param.name, param.nominal_value - ) - return f - - def triangle_llh(theta, args, hypo_paramset): """Log likelihood function for a given theta.""" if len(theta) != len(hypo_paramset): @@ -205,16 +193,6 @@ def main(): ) mcmc_utils.save_chains(frs, outfile) - of = outfile[:5]+outfile[5:].replace('data', 'plots')+'_posterior' - plot_utils.chainer_plot( - infile = outfile+'.npy', - outfile = of, - outformat = ['png'], - args = args, - llh_paramset = hypo_paramset, - fig_text = gen_figtext(args, hypo_paramset) - ) - print "DONE!" |
