Standard Model Effective Field Theory Fitter
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c139e74861c9cad225a220e8bbb47640bf76dee3b1267f7d6d02b4396da68bb4
|
|
| MD5 |
1854a9476a8cf833faa5ccd87f1c3912
|
|
| BLAKE2b-256 |
6a163fe934db84ad55fa346a24d122b3de66a16c5bad5e326d62c106c692f01e
|
Provenance
The following attestation bundles were made for smefit-3.1.1.tar.gz:
Publisher:
deploy.yml on LHCfitNikhef/smefit_release
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
smefit-3.1.1.tar.gz -
Subject digest:
c139e74861c9cad225a220e8bbb47640bf76dee3b1267f7d6d02b4396da68bb4 - Sigstore transparency entry: 225788589
- Sigstore integration time:
-
Permalink:
LHCfitNikhef/smefit_release@08d32e9744b9e19bd3a09ef2865cfd8c1dd47390 -
Branch / Tag:
refs/tags/v3.1.1 - Owner: https://github.com/LHCfitNikhef
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@08d32e9744b9e19bd3a09ef2865cfd8c1dd47390 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
981acf8bd949dd6afee9f3a5f8e9b288d54f5ab07d4b80bde47805705713b0ba
|
|
| MD5 |
434cbe9e2e816d92d64e771cfc68e28c
|
|
| BLAKE2b-256 |
abadb4d07895e20db31a7a3a175657a1b13c8bc2a998724d380f5fbfc05e1d53
|
Provenance
The following attestation bundles were made for smefit-3.1.1-py3-none-any.whl:
Publisher:
deploy.yml on LHCfitNikhef/smefit_release
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
smefit-3.1.1-py3-none-any.whl -
Subject digest:
981acf8bd949dd6afee9f3a5f8e9b288d54f5ab07d4b80bde47805705713b0ba - Sigstore transparency entry: 225788590
- Sigstore integration time:
-
Permalink:
LHCfitNikhef/smefit_release@08d32e9744b9e19bd3a09ef2865cfd8c1dd47390 -
Branch / Tag:
refs/tags/v3.1.1 - Owner: https://github.com/LHCfitNikhef
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@08d32e9744b9e19bd3a09ef2865cfd8c1dd47390 -
Trigger Event:
release
-
Statement type: