Version 37 (modified by flip, 5 years ago) (diff)



PyGamma is a Python-wrapped version of GAMMA. It combines the power of the GAMMA library with the convenience of working in the Python programming language. Python is open source, object-oriented, and considerably easier to write than C++.

PyGamma works with Python 2.5 - 2.7 (but not the 3.x series).

The PyGamma wrapper was created using SWIG. Most, but not all of GAMMA is available to Python through PyGamma.

We have are some tips on exploring and using PyGamma.

The performance of PyGamma for compute-intense calculations is very comparable to that of GAMMA.

Installing PyGamma

As of version 4.3.3, PyGamma is installable via pip, Python's preferred installer program.

We strongly recommend upgrading to the latest version of pip before installing pygamma.

To upgrade pip, use this command --

python -m pip install --upgrade pip

To install PyGamma, use this command --

pip install pygamma

If pip isn't installed, get it via the the instructions here --