GooFit fitting package
GooFit is a highly parallel fitting framework originally designed for High Energy Physics.
This package can be installed with pip, but uses SciKit-Build, and is build, fully optimized, on your system. Because of this, there are a few caveats when running a pip install. Make sure you have SciKit-Build (pip install scikit-build) before you attempt an install. Also, if you don’t have a recent version of CMake (3.8 or better recommended), also run pip install cmake. When you build, you should also use pip’s -v flag, so that you can see it build (and observe the configuration options). Otherwise, you might wait a very long time without output (especially if CUDA was found).
Use pipenv, the officially recommended method for managing installs, virtual environments, and dependencies.
pipenv install scikit-build cmake pipenv install --verbose goofit
To run a shell:
Traditional pip install:
pip install scikit-build cmake pip install -v goofit
If you want to add PDFs to GooFit, or use GooFit pacakges, you should be working in a local directory using git. In the following example, I’m assuming you’ve set up SSH keys with GitHub; you can use https instead if you perfer by changing the URL to https://github.com/GooFit/GooFit.git:
git clone --recursive email@example.com:GooFit/GooFit.git cd goofit
If you use pip:
pip install -v -e .
Or, if you use pipenv:
pipenv install --verbose -e . --skip-lock
And, to use:
You can set the PIP_INSTALL_OPTIONS variable to pass through build command, for example:
PIP_INSTALL_OPTIONS="-- -DGOOFIT_PACKAGES=OFF" pipenv install --verbose -e .
You can also install development requirements with the --dev flag. Note that the current version of PyLandau requires numpy tp be installed first, so you might need to run pipenv install numpy first.
Building a source package from git
For developers only:
To make a source package, start with a clean (such as new) git GooFit package with all submodules checked out:
git clone --branch=master --recursive --depth=10 firstname.lastname@example.org:GooFit/GooFit.git cd goofit python setup.py sdist twine upload dist/*
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size goofit-2.1.0b3.tar.gz (8.4 MB)||File type Source||Python version None||Upload date||Hashes View|