aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/fr.py
diff options
context:
space:
mode:
authorShivesh Mandalia <shivesh.mandalia@outlook.com>2020-02-29 02:18:50 +0000
committerShivesh Mandalia <shivesh.mandalia@outlook.com>2020-02-29 02:18:50 +0000
commitb337b7a457341999f97a188945c2c4cc03f7b11c (patch)
tree820f45be852f94ae68fb4a407d677345366db02b /scripts/fr.py
parent7b32b3e2c437f65f6ac946d16463691e7496be29 (diff)
downloadGolemFlavor-b337b7a457341999f97a188945c2c4cc03f7b11c.tar.gz
GolemFlavor-b337b7a457341999f97a188945c2c4cc03f7b11c.zip
move golemfit test to another repo and slightly reluctantly use american style flavor spelling consistently
Diffstat (limited to 'scripts/fr.py')
-rw-r--r--scripts/fr.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/fr.py b/scripts/fr.py
index 25cc1f8..c8c96e3 100644
--- a/scripts/fr.py
+++ b/scripts/fr.py
@@ -5,7 +5,7 @@
# date : March 17, 2018
"""
-HESE BSM flavour ratio MCMC analysis script
+HESE BSM flavor ratio MCMC analysis script
"""
from __future__ import absolute_import, division
@@ -90,14 +90,14 @@ def get_paramsets(args, nuisance_paramset):
tag = ParamTag.BESTFIT
if args.data is not DataType.REAL:
- flavour_angles = fr_utils.fr_to_angles(args.injected_ratio)
+ flavor_angles = fr_utils.fr_to_angles(args.injected_ratio)
else:
- flavour_angles = fr_utils.fr_to_angles([1, 1, 1])
+ flavor_angles = fr_utils.fr_to_angles([1, 1, 1])
asimov_paramset.extend(gf_nuisance)
asimov_paramset.extend([
- Param(name='astroFlavorAngle1', value=flavour_angles[0], ranges=[ 0., 1.], std=0.2, tag=tag),
- Param(name='astroFlavorAngle2', value=flavour_angles[1], ranges=[-1., 1.], std=0.2, tag=tag),
+ Param(name='astroFlavorAngle1', value=flavor_angles[0], ranges=[ 0., 1.], std=0.2, tag=tag),
+ Param(name='astroFlavorAngle2', value=flavor_angles[1], ranges=[-1., 1.], std=0.2, tag=tag),
])
asimov_paramset = ParamSet(asimov_paramset)
@@ -135,7 +135,7 @@ def process_args(args):
def parse_args(args=None):
"""Parse command line arguments"""
parser = argparse.ArgumentParser(
- description="BSM flavour ratio analysis",
+ description="BSM flavor ratio analysis",
formatter_class=misc_utils.SortingHelpFormatter,
)
parser.add_argument(