FlavorPy
What is FlavorPy?
FlavorPy is a Python library for calculations around discrete flavor symmetries in particle physics. Currently, it is split into two parts:
-
The constructterms part allows you to calculate group theoretical tensor products and therefore find the invariant terms in the action.
-
The modelfitting part is concerned with fitting a model to experimental data. More specifically flavor observables, i.e. masses and mixing, for given mass matrices with an associated parameter space can be compared and fitted to experimental data. The minimization heavily relies on lmfit.
How to install FlavorPy?
You can install FlavorPy from PyPI with pip by running
pip install flavorpy
Alternatively, you can:
-
Download the files from the github repository.
-
Open python and load the files with:
import os
dir_to_git_folder = "home/.../FlavorPy/current_version" # Adjust this to your case !!
os.chdir(os.path.expanduser(dir_to_git_folder))
import constructterms as ct
import modelfitting as mf
- Start using the FlavorPy packages imported as
ctandmf!
Documentation
A documentation is hosted on https://flavorpy.github.io/FlavorPy/. This site also contains examples of how to use the code.
Current development
The goal of current development is bringing the two parts together and integrating GAP or SageMath to ConstructTerms. If you want to contribute, please feel free to contact Alexander Baur
Citing FlavorPy
If FlavorPy contributes to a project that leads to a publication, please acknowledge this fact by citing
A. Baur, "FlavorPy", Zenodo, 2024, doi: 10.5281/zenodo.11060597.
Here is an example of a BibTex entry:
@software{FlavorPy,
author = {Baur, Alexander},
title = "{FlavorPy}",
year = {2024},
publisher = {Zenodo},
version = {v0.1.0},
doi = {10.5281/zenodo.11060597},
url = "\url{https://doi.org/10.5281/zenodo.11060597}"
}
When using the NuFit experimental data, please also cite
[I. Esteban, M. C. González-García, M. Maltoni, T. Schwetz, and A. Zhou, The fate of hints: updated global analysis of three-flavor neutrino oscillations, JHEP 09 (2020), 178, arXiv:2007.14792 [hep-ph], https://www.nu-fit.org](https://link.springer.com/article/10.1007/JHEP09(2020)178).
Credit
This package uses experimental data obtained by NuFit published in JHEP 09 (2020) 178, arXiv:2007.14792, and their website www.nu-fit.org.
Metadata
Release files for flavorpy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flavorpy-0.2.0.tar.gz | 88.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flavorpy-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 135.3 MB
Release files / flavorpy-0.2.0.tar.gz
| Download URL | flavorpy-0.2.0.tar.gz |
|---|---|
| Size | 88.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c6c6b3946f4ddaf421516616ed1773fee3d5feac088b8906dcc34621a2f07da3
|
|
BLAKE2b-256 checksum How to use checksums |
80e8acab3119687f9d05f919846b628acc7221e27d7982ee588f55b0bc5577e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.8.10
|
Release files / flavorpy-0.2.0-py3-none-any.whl
| Download URL | flavorpy-0.2.0-py3-none-any.whl |
|---|---|
| Size | 47.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
482a7626dd18665828943645a1c7ef71804fcb9908c79909ff69b5b42008b420
|
|
BLAKE2b-256 checksum How to use checksums |
4939991bccbe571930671a9cbbbee78acf9c2a2feac690a259d3fa5ce4df88e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.8.10
|