From c0fb3b25a951efb608568fb17bea6e9091f6fdcd Mon Sep 17 00:00:00 2001 From: Jorge Alda Gallo Date: Fri, 20 Jan 2023 19:30:52 +0100 Subject: [PATCH] Changed schema to include renormalization_scale --- flavio/statistics/likelihood.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flavio/statistics/likelihood.py b/flavio/statistics/likelihood.py index cd02f0d2..c6e9988f 100644 --- a/flavio/statistics/likelihood.py +++ b/flavio/statistics/likelihood.py @@ -279,6 +279,7 @@ class Likelihood(iio.YAMLLoadable): 'observables': vol.All([iio.coerce_observable_tuple], iio.list_deduplicate), 'exclude_measurements': vol.Any(iio.ensurelist, [str]), 'include_measurements': vol.Any(iio.ensurelist, [str]), + 'renormalization_scale': vol.Any(None, float), } _output_schema_dict = { @@ -296,6 +297,7 @@ def __init__(self, exclude_measurements=None, include_measurements=None, include_pseudo_measurements=False, + renormalization_scale=None, ): self.par_obj = par_obj self.parameters_central = self.par_obj.get_central_all() @@ -311,6 +313,7 @@ def __init__(self, self.parameter_likelihood = ParameterLikelihood( par_obj=par_obj, parameters=fit_parameters) + self.renormalization_scale = renormalization_scale def log_prior_fit_parameters(self, par_dict, delta=False): """Parameter contribution to the log-likelihood."""