diff options
| author | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-05-08 13:03:35 -0500 |
|---|---|---|
| committer | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-05-08 13:03:35 -0500 |
| commit | 5f76bd5bb0bbe4e1ebc85a60722498f3747fd722 (patch) | |
| tree | 1c7409e778ab2302fcb9a8bbe334b05e095ab4a1 /utils | |
| parent | 57accb5441e1586cd42b19ee7236bef7be0b9548 (diff) | |
| download | GolemFlavor-5f76bd5bb0bbe4e1ebc85a60722498f3747fd722.tar.gz GolemFlavor-5f76bd5bb0bbe4e1ebc85a60722498f3747fd722.zip | |
Tue May 8 13:03:35 CDT 2018
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/gf.py | 4 | ||||
| -rw-r--r-- | utils/plot.py | 2 |
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 |
