[Paper Review] flavio: a Python package for flavour and precision phenomenology in the Standard Model and beyond
Flavio is an open-source Python toolkit for flavour and precision phenomenology, providing SM and NP predictions, a measurements database, and a flexible likelihood framework for EFT analyses.
flavio is an open source tool for phenomenological analyses in flavour physics and other precision observables in the Standard Model and beyond. It consists of a library to compute predictions for a plethora of observables in quark and lepton flavour physics and electroweak precision tests, a database of experimental measurements of these observables, a statistics package that allows to construct Bayesian and frequentist likelihoods, and of convenient plotting and visualization routines. New physics effects are parameterised as Wilson coefficients of dimension-six operators in the weak effective theory below the electroweak scale or the Standard Model EFT above it. At present, observables implemented include numerous rare $B$ decays (including angular observables of exclusive decays, lepton flavour and lepton universality violating $B$ decays), meson-antimeson mixing observables in the $B_{d,s}$, $K$, and $D$ systems, tree-level semi-leptonic $B$, $K$, and $D$ decays (including possible lepton universality violation), rare $K$ decays, lepton flavour violating $\ au$ and $\\mu$ decays, $Z$ pole electroweak precision observables, the neutron electric dipole moment, and anomalous magnetic moments of leptons. Not only central values but also theory uncertainties of all observables can be computed. Input parameters and their uncertainties can be easily modified by the user. Written in Python, the code does not require compilation and can be run in an interactive session. This document gives an overview of the features as of version 1.0 but does not represent a manual. The full documentation of the code can be found in its web site.
Motivation & Objective
- Provide a library of flavour, EW, and precision observables as functions of dimension-6 Wilson coefficients in SMEFT and WET.
- Offer a database of experimental measurements and a framework to compare predictions with data.
- Enable construction of Bayesian and frequentist likelihoods for parameter inference.
- Include plotting and visualization utilities for observables and fits.
- Facilitate NP studies by mapping new physics to Wilson coefficients and performing EFT-based analyses.
Proposed method
- Observables are computed as functions of Wilson coefficients in SMEFT (above EW scale) or WET (below EW scale).
- Renormalization group evolution, matching, and basis translation are handled via the wilson package and WCxf format.
- Uncertainties are quantified by Monte Carlo sampling of input parameters to produce SM predictions with uncertainties.
- A general Likelihood class enables construction of likelihoods from experimental measurements and theory predictions for Bayesian or frequentist inference.
- A FastLikelihood approach provides a Gaussian-based approximation to marginalize nuisance parameters efficiently.
- Fits can be performed with MCMC or profiling tools, supporting both Bayesian and frequentist treatments of theory uncertainties.
Experimental results
Research questions
- RQ1How can NP effects be parametrized in flavour observables using dimension-6 Wilson coefficients in SMEFT and WET?
- RQ2How can one systematically compare predictions to a large set of experimental measurements within a consistent EFT framework?
- RQ3What is a flexible statistical framework (Bayesian or frequentist) for inferring Wilson coefficients given flavour data and theory uncertainties?
- RQ4How does one efficiently perform fast inference when nuisance parameters are present, without compromising consistency?
Key findings
- flavio provides a large library of observables in flavour physics, electroweak precision tests, and other low-energy observables as functions of dimension-6 Wilson coefficients.
- It includes a database of experimental measurements and a module to construct likelihoods, enabling Bayesian or frequentist inference.
- The package supports NP effects via Wilson coefficients at scales above or below the electroweak sector, with RG evolution and basis translations via WCxf/wilson.
- New physics contributions are represented as Wilson coefficients, with the SM corresponding to vanishing NP coefficients by default.
- The toolkit is implemented in Python (no compilation required), emphasizing easy extension, interactive use, and integration with plotting.
- Version 1.0 describes the features available at release, with ongoing development and community contributions encouraged.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.