Skip to main content

Standard Model Effective Field Theory Fitter

Project description

SMEFiT

Tests CodeFactor

SMEFiT is a python program for Standard Model Effective Field Theory fits

Installation

To install the smefit release on PYPI you can do:

pip install smefit

Installation for developers

If you are interested in developing smefit or having the latest smefit code not yet released, you should clone the smefit repository and then install in editable mode:

cd smefit_release
pip install -e .

If one is interested in having smefit installed in a conda environment, this can be done by creating the environment (for example with python 3.12), activating it and then installing inside the environment.

conda create python=3.12 -n smefit-dev
conda activate smefit-dev
pip install -e .

Running

The fitting code provide two fitting strategies. To run the code with Nested Sampling you can do:

smefit NS <path_to_runcard>

To run the code suing the analytic method (valid only for linear fits) you can do:

smefit A <path_to_runcard>

An runcard example is provided in runcards/test_runcard.yaml. You can also do smefit -h for more help.

Running in parallel

To run smefit with Nested Sampling in parallel you can do:

mpiexec -n number_of_cores smefit NS <path_to_runcard>

Documentation

If you want to build the documentation do:

cd docs
make html

Unit tests

To run the unit test you need to install:

pip install pytest pytest-env pytest-cov

And then simply run:

pytest

Reports

To run reports and produce PDF and HTML output you need to have pandoc and pdflatex installed. The first one is available in conda the latter can be sourced in:

souce /cvmfs/sft.cern.ch/lcg/external/texlive/2020/bin/x86_64-linux/pdflatex

Citation policy

Please cite our paper when using the code:

@article{Giani:2023gfq,
    author = "Giani, Tommaso and Magni, Giacomo and Rojo, Juan",
    title = "{SMEFiT: a flexible toolbox for global interpretations of particle physics data with effective field theories}",
    eprint = "2302.06660",
    archivePrefix = "arXiv",
    primaryClass = "hep-ph",
    reportNumber = "Nikhef-2022-023",
    month = "2",
    year = "2023"
}

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

smefit-3.1.1.tar.gz (128.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

smefit-3.1.1-py3-none-any.whl (144.4 kB view details)

Uploaded Python 3

File details

Details for the file smefit-3.1.1.tar.gz.

File metadata

  • Download URL: smefit-3.1.1.tar.gz
  • Upload date:
  • Size: 128.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for smefit-3.1.1.tar.gz
Algorithm Hash digest
SHA256 c139e74861c9cad225a220e8bbb47640bf76dee3b1267f7d6d02b4396da68bb4
MD5 1854a9476a8cf833faa5ccd87f1c3912
BLAKE2b-256 6a163fe934db84ad55fa346a24d122b3de66a16c5bad5e326d62c106c692f01e

See more details on using hashes here.

Provenance

The following attestation bundles were made for smefit-3.1.1.tar.gz:

Publisher: deploy.yml on LHCfitNikhef/smefit_release

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file smefit-3.1.1-py3-none-any.whl.

File metadata

  • Download URL: smefit-3.1.1-py3-none-any.whl
  • Upload date:
  • Size: 144.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for smefit-3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 981acf8bd949dd6afee9f3a5f8e9b288d54f5ab07d4b80bde47805705713b0ba
MD5 434cbe9e2e816d92d64e771cfc68e28c
BLAKE2b-256 abadb4d07895e20db31a7a3a175657a1b13c8bc2a998724d380f5fbfc05e1d53

See more details on using hashes here.

Provenance

The following attestation bundles were made for smefit-3.1.1-py3-none-any.whl:

Publisher: deploy.yml on LHCfitNikhef/smefit_release

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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