DependenciesΒΆ

Note

The philosophy of Gammapy is to build on the existing scientific Python stack. This means that you need to install those dependencies to use Gammapy.

We are aware that too many dependencies is an issue for deployment and maintenance. That’s why currently Gammapy only has two core dependencies — Numpy and Astropy. We are considering making Sherpa, Scipy, scikit-image, photutils, reproject and naima core dependencies.

In addition there are about a dozen optional dependencies that are OK to import from Gammapy because they are potentially useful (not all of those are actually currently imported).

Before the Gammapy 1.0 release we will re-evaluate and clarify the Gammapy dependencies.

The required core dependencies of Gammapy are:

  • `Numpy`_ - the fundamental package for scientific computing with Python
  • Astropy - the core package for Astronomy in Python
  • `regions`_ - Astropy regions package. Planned for inclusion in Astropy core as astropy.regions.
  • `click`_ for making command line tools

We’re currently using

  • `PyYAML`_ for YAML data handling (config and results files)
  • `flask`_ and some Flask plugins for Gammapy web apps

Currently optional dependencies that are being considered as core dependencies:

Allowed optional dependencies: