Skip to main content

Library for calculations around discrete flavor symmetries in particle physics

Project description

FlavorPy

DOI

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:

  1. Download the files from the github repository.

  2. 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
  1. Start using the FlavorPy packages imported as ct and mf!

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 to bring the two parts together, integrate GAP, have quark models, and extend the modelfitting with a MCMC method to study the vicinity of minima. If you want to contribute, please feel free to contact Alexander Baur

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.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flavorpy-0.1.0.tar.gz (22.7 MB view details)

Uploaded Source

Built Distribution

flavorpy-0.1.0-py3-none-any.whl (22.2 MB view details)

Uploaded Python 3

File details

Details for the file flavorpy-0.1.0.tar.gz.

File metadata

  • Download URL: flavorpy-0.1.0.tar.gz
  • Upload date:
  • Size: 22.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.10

File hashes

Hashes for flavorpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 719f33069322679f3d86f54795115b14a1de1a84818462219a480688bcc74b8d
MD5 43486b65a78c738c5de7ace2e345688b
BLAKE2b-256 c65fdd0c5783e6f230183c435fc0b30ded26992eea219991beb8ea7635a0ffa6

See more details on using hashes here.

Provenance

File details

Details for the file flavorpy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: flavorpy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.10

File hashes

Hashes for flavorpy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22a26521159b6c95f2d8839856db95e677ce9a754aba22b000e3680cc426e048
MD5 3486b856f70850808cd26c71a744bedb
BLAKE2b-256 3638756f4713083f8c6a6def54b2cd1517b06228bd2287d967593a6193c4df5a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page