How to use the smelli.classes.CustomLikelihood function in smelli

To help you get started, we’ve selected a few smelli examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github smelli / smelli / smelli / View on Github external
self.fast_likelihoods[fn] = L
        for fn in self._likelihoods_yaml:
            if include_likelihoods is not None and fn not in include_likelihoods:
            if exclude_likelihoods is not None and fn in exclude_likelihoods:
            if self.eft != 'SMEFT' and fn in ['likelihood_ewpt.yaml',
            with open(self._get_yaml_path(fn), 'r') as f:
                L = Likelihood.load(f)
            self.likelihoods[fn] = L
        for name, observables in self._custom_likelihoods_dict.items():
            L = CustomLikelihood(self, observables)
            self.custom_likelihoods['custom_' + name] = L


A Python package providing a global likelihood function in the space of dimension-6 Wilson coefficients of the Standard Model Effective Field Theory (SMEFT)

Latest version published 5 months ago

Package Health Score

55 / 100
Full package analysis