Metadata-Version: 2.4
Name: bsmart
Version: 2.0.0
Summary: BSMArt: simple and fast parameter space scans
Author-email: Mark Goodsell <mark.goodsell@lpthe.jussieu.fr>, Miguel Crispim Romao <miguel.romao@durham.ac.uk>
License-Expression: GPL-3.0-or-later
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: matplotlib
Requires-Dist: emcee
Requires-Dist: wget
Requires-Dist: requests
Requires-Dist: scikit-learn
Requires-Dist: seaborn
Requires-Dist: corner
Requires-Dist: six
Provides-Extra: all
Requires-Dist: rich; extra == "all"
Requires-Dist: torch; extra == "all"
Requires-Dist: psutil; extra == "all"
Requires-Dist: cmaes; extra == "all"
Requires-Dist: pyod; extra == "all"
Requires-Dist: mpi4py; extra == "all"
Requires-Dist: flavio; extra == "all"
Requires-Dist: tqdm; extra == "all"
Requires-Dist: pyyaml; extra == "all"
Provides-Extra: dev
Requires-Dist: sphinx; extra == "dev"
Requires-Dist: sphinx_rtd_theme; extra == "dev"
Requires-Dist: myst_parser; extra == "dev"
Provides-Extra: cmaes-nd
Requires-Dist: cmaes; extra == "cmaes-nd"
Requires-Dist: pyod; extra == "cmaes-nd"
Dynamic: license-file

General purpose lightweight scanning tool for HEP projects, originally intended for SARAH/SPheno workflows.

Requires python 3.

Necessary packages are listed in requirements.txt; install them with

pip3 install -r requirements.txt

Optional packages (for e.g. MPI, used with MultiNest/Diver, or pytorch for ML scans) are in optional-requirements.txt; install them with

pip3 install -r optional-requirements.txt



It is preferable to create a directory for your scan to run from, and place in it a .json file with the necessary options; and a template input file for SPheno, if required (scans can be performed without this, for example if you are supplying spectrum files from a directory or the input files are already prepared). You then type

<path/to/bsmart-v-nnn>/bin/BSMArt <template>.json

and that's it! If you have problems, add the --debug tag to see warning messages; otherwise, the logs will be stored on either /dev/shm/BSMArt_Temp (if /dev/shm exists) or in subdirectory Temp. You can also consult the several example input files, or use the QuickStart script as an example.

To generate models and set up a json file with all the tools, it is convenient to use the installHEPtools.py and prepareModel.py scripts provided on the website. 

More information can be found at

https://goodsell.pages.in2p3.fr/bsmart/
