aboutsummaryrefslogtreecommitdiffstats
path: root/utils/llh.py
diff options
context:
space:
mode:
authorshivesh <s.p.mandalia@qmul.ac.uk>2019-04-10 17:24:55 -0500
committershivesh <s.p.mandalia@qmul.ac.uk>2019-04-10 17:24:55 -0500
commit0c961ab5ceacce96d09032c3594e421a6dacbf85 (patch)
tree19b5820e70501909b8fba17436a74b8f9cbb64d1 /utils/llh.py
parent32c333652da8beb1758d8852d8b67d4eff78b657 (diff)
downloadGolemFlavor-0c961ab5ceacce96d09032c3594e421a6dacbf85.tar.gz
GolemFlavor-0c961ab5ceacce96d09032c3594e421a6dacbf85.zip
fix bugs
Diffstat (limited to 'utils/llh.py')
-rw-r--r--utils/llh.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/llh.py b/utils/llh.py
index 93587b9..d80e374 100644
--- a/utils/llh.py
+++ b/utils/llh.py
@@ -17,7 +17,7 @@ from scipy.stats import multivariate_normal, truncnorm
from utils import fr as fr_utils
from utils import gf as gf_utils
-from utils.enums import Likelihood, ParamTag, PriorsCateg
+from utils.enums import Likelihood, ParamTag, PriorsCateg, StatCateg
from utils.misc import enum_parse, gen_identifier, parse_bool
@@ -37,7 +37,7 @@ def multi_gaussian(fr, fr_bf, sigma, offset=-320):
def llh_argparse(parser):
parser.add_argument(
'--stat-method', default='bayesian',
- type=partial(misc_utils.enum_parse, c=StatCateg), choices=StatCateg,
+ type=partial(enum_parse, c=StatCateg), choices=StatCateg,
help='Statistical method to employ'
)