Skip to main content

GooFit fitting package

Project description

GooFit is a highly parallel fitting framework originally designed for High Energy Physics.

Installation: pipenv

Best method for an install you don’t expect to change! Use pipenv, the officially recommended method for managing installs, virtual environments, and dependencies.

To install:

pipenv install goofit

To run a shell:

pipenv shell

Installation: pip

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).

In practice, this looks like this:

pip install scikit-build cmake
pip install -v goofit

Installation: local

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 git@github.com:GooFit/GooFit.git
cd goofit
pipenv install --verbose -e .

And, to use:

pipenv shell

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.

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 git@github.com:GooFit/GooFit.git
cd goofit
python setup.py sdist
twine upload dist/*

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

goofit-2.1.0.dev3.tar.gz (6.2 MB view details)

Uploaded Source

File details

Details for the file goofit-2.1.0.dev3.tar.gz.

File metadata

  • Download URL: goofit-2.1.0.dev3.tar.gz
  • Upload date:
  • Size: 6.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for goofit-2.1.0.dev3.tar.gz
Algorithm Hash digest
SHA256 ff762743c778c5a311f4c30a1c6d29070a95364ab5fd151ed424f5c5f8e56837
MD5 994a8e17d788ea3285bf8f0453425b36
BLAKE2b-256 79fa6b44faa3979bcab922e45b98c71a88ac1ae8cc75a44871f1468f19fa1060

See more details on using hashes here.

Supported by

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