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-4.0.0.tar.gz (134.9 kB view details)

Uploaded Source

Built Distribution

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

smefit-4.0.0-py3-none-any.whl (151.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for smefit-4.0.0.tar.gz
Algorithm Hash digest
SHA256 c5b839f5904c9d55cf7b8a083abc17fc3471c8e3f3355809d478d5a4a375fefc
MD5 f2f42c30aac5665c30280a8e4a1b4a42
BLAKE2b-256 21259a673fd52910f44d911d436b846c0c6dfdcc26577d97f19c0d70baec313b

See more details on using hashes here.

Provenance

The following attestation bundles were made for smefit-4.0.0.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-4.0.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for smefit-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 866fbc70276565c36114c7ce376603264ccf52ea5e2137548e3f680103c3427a
MD5 10683e0214961d0c2b92ec733ad5abcf
BLAKE2b-256 d458eb93fc6d24b69349a837d983073748378a431a8791c74a82ffb3f7b0b0ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for smefit-4.0.0-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