From 6ea8ab99183811393b02ff3014fac8f7cc6b6c2b Mon Sep 17 00:00:00 2001 From: shivesh Date: Tue, 30 Apr 2019 18:18:13 +0100 Subject: make mc_x script --- mc_unitary.py | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'mc_unitary.py') 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!" -- cgit v1.2.3