diff options
| author | Shivesh Mandalia <shivesh.mandalia@outlook.com> | 2020-02-29 02:18:50 +0000 |
|---|---|---|
| committer | Shivesh Mandalia <shivesh.mandalia@outlook.com> | 2020-02-29 02:18:50 +0000 |
| commit | b337b7a457341999f97a188945c2c4cc03f7b11c (patch) | |
| tree | 820f45be852f94ae68fb4a407d677345366db02b /golemflavor/llh.py | |
| parent | 7b32b3e2c437f65f6ac946d16463691e7496be29 (diff) | |
| download | GolemFlavor-b337b7a457341999f97a188945c2c4cc03f7b11c.tar.gz GolemFlavor-b337b7a457341999f97a188945c2c4cc03f7b11c.zip | |
move golemfit test to another repo and slightly reluctantly use american style flavor spelling consistently
Diffstat (limited to 'golemflavor/llh.py')
| -rw-r--r-- | golemflavor/llh.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/golemflavor/llh.py b/golemflavor/llh.py index aa5d32d..14678b6 100644 --- a/golemflavor/llh.py +++ b/golemflavor/llh.py @@ -4,7 +4,7 @@ # date : April 04, 2018 """ -Likelihood functions for the BSM flavour ratio analysis +Likelihood functions for the BSM flavor ratio analysis """ from __future__ import absolute_import, division, print_function @@ -87,10 +87,10 @@ def triangle_llh(theta, args, asimov_paramset, llh_paramset): # Assigning llh_paramset values from theta happens in this function. fr = fr_utils.flux_averaged_BSMu(theta, args, spectral_index, llh_paramset) - flavour_angles = fr_utils.fr_to_angles(fr) - # print('flavour_angles', map(float, flavour_angles)) + flavor_angles = fr_utils.fr_to_angles(fr) + # print('flavor_angles', map(float, flavor_angles)) for idx, param in enumerate(hypo_paramset.from_tag(ParamTag.BESTFIT)): - param.value = flavour_angles[idx] + param.value = flavor_angles[idx] if args.likelihood is Likelihood.GOLEMFIT: llh = gf_utils.get_llh(hypo_paramset) |
