aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/gf.py4
-rw-r--r--utils/plot.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/gf.py b/utils/gf.py
index aa075b6..b651b5a 100644
--- a/utils/gf.py
+++ b/utils/gf.py
@@ -30,7 +30,7 @@ def fit_flags(llh_paramset):
'muonNorm' : True,
'astroNorm' : True,
'astroParticleBalance' : True,
- 'astroDeltaGamma' : True,
+ # 'astroDeltaGamma' : True,
'cutoffEnergy' : True,
'CRDeltaGamma' : True,
'piKRatio' : True,
@@ -94,7 +94,7 @@ def get_llh(fitter, params):
def get_llh_freq(fitter, params):
- # print 'setting to {0}'.format(params)
+ print 'setting to {0}'.format(params)
fitparams = gf.FitParameters(gf.sampleTag.HESE)
for parm in params:
fitparams.__setattr__(parm.name, float(parm.value))
diff --git a/utils/plot.py b/utils/plot.py
index 8f4eba8..8792cbb 100644
--- a/utils/plot.py
+++ b/utils/plot.py
@@ -519,7 +519,7 @@ def plot_sens_corr_angle(data, outfile, outformat, args):
print sep_arrays
if args.stat_method is StatCateg.BAYESIAN:
- reduced_pdat_mask = (sep_arrays[2] > log(10**(3/2.))) # Strong degree of belief
+ reduced_pdat_mask = (sep_arrays[2] > np.log(10**(3/2.))) # Strong degree of belief
elif args.stat_method is StatCateg.FREQUENTIST:
reduced_pdat_mask = (sep_arrays[2] > 4.61) # 90% CL for 2 DOFS via Wilks
reduced_pdat = sep_arrays.T[reduced_pdat_mask].T