Gammapy
A Python package for gamma-ray astronomy
Install / Use
/learn @gammapy/GammapyREADME
.. image:: https://anaconda.org/conda-forge/gammapy/badges/license.svg :target: https://github.com/gammapy/gammapy/blob/master/LICENSE.rst :alt: Licence
.. image:: http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat :target: http://www.astropy.org/ | .. image:: https://anaconda.org/conda-forge/gammapy/badges/platforms.svg :target: https://anaconda.org/conda-forge/gammapy | .. image:: http://img.shields.io/pypi/v/gammapy.svg?text=version :target: https://pypi.org/project/gammapy/ :alt: Latest release
.. image:: https://img.shields.io/pypi/dm/gammapy?label=downloads%20%7C%20pip&logo=PyPI :alt: PyPI - Downloads
.. image:: https://anaconda.org/conda-forge/gammapy/badges/version.svg :target: https://anaconda.org/conda-forge/gammapy
.. image:: https://img.shields.io/conda/dn/conda-forge/gammapy?label=downloads%20%7C%20conda&logo=Conda-Forge :target: https://anaconda.org/conda-forge/gammapy
.. image:: https://img.shields.io/badge/launch-binder-579aca.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFkAAABZCAMAAABi1XidAAAB8lBMVEX///9XmsrmZYH1olJXmsr1olJXmsrmZYH1olJXmsr1olJXmsrmZYH1olL1olJXmsr1olJXmsrmZYH1olL1olJXmsrmZYH1olJXmsr1olL1olJXmsrmZYH1olL1olJXmsrmZYH1olL1olL0nFf1olJXmsrmZYH1olJXmsq8dZb1olJXmsrmZYH1olJXmspXmspXmsr1olL1olJXmsrmZYH1olJXmsr1olL1olJXmsrmZYH1olL1olLeaIVXmsrmZYH1olL1olL1olJXmsrmZYH1olLna31Xmsr1olJXmsr1olJXmsrmZYH1olLqoVr1olJXmsr1olJXmsrmZYH1olL1olKkfaPobXvviGabgadXmsqThKuofKHmZ4Dobnr1olJXmsr1olJXmspXmsr1olJXmsrfZ4TuhWn1olL1olJXmsqBi7X1olJXmspZmslbmMhbmsdemsVfl8ZgmsNim8Jpk8F0m7R4m7F5nLB6jbh7jbiDirOEibOGnKaMhq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OsEKW2Prz7du3VID3/tzs/sSRs2w7ovVHKtjrX2pd7ZMlTxAYfBAL9jiDwfLkq55Tm7ifhMlTGPyCAs7RFRhn47JnlcB9RM5T97ASuZXIcVNuUDIndpDbdsfrqsOppeXl5Y+XVKdjFCTh+zGaVuj0d9zy05PPK3QzBamxdwtTCrzyg/2Rvf2EstUjordGwa/kx9mSJLr8mLLtCW8HHGJc2R5hS219IiF6PnTusOqcMl57gm0Z8kanKMAQg0qSyuZfn7zItsbGyO9QlnxY0eCuD1XL2ys/MsrQhltE7Ug0uFOzufJFE2PxBo/YAx8XPPdDwWN0MrDRYIZF0mSMKCNHgaIVFoBbNoLJ7tEQDKxGF0kcLQimojCZopv0OkNOyWCCg9XMVAi7ARJzQdM2QUh0gmBozjc3Skg6dSBRqDGYSUOu66Zg+I2fNZs/M3/f/Grl/XnyF1Gw3VKCez0PN5IUfFLqvgUN4C0qNqYs5YhPL+aVZYDE4IpUk57oSFnJm4FyCqqOE0jhY2SMyLFoo56zyo6becOS5UVDdj7Vih0zp+tcMhwRpBeLyqtIjlJKAIZSbI8SGSF3k0pA3mR5tHuwPFoa7N7reoq2bqCsAk1HqCu5uvI1n6JuRXI+S1Mco54YmYTwcn6Aeic+kssXi8XpXC4V3t7/ADuTNKaQJdScAAAAAElFTkSuQmCC :target: https://mybinder.org/v2/gh/gammapy/gammapy-webpage/master?urlpath=lab/tree/notebooks/ | .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4701488.svg?style=flat :target: https://doi.org/10.5281/zenodo.4701488
.. image:: https://archive.softwareheritage.org/badge/origin/https://github.com/gammapy/gammapy/ :target: https://archive.softwareheritage.org/browse/origin/?origin_url=https://github.com/gammapy/gammapy
.. image:: https://archive.softwareheritage.org/badge/swh:1:snp:11e81660a96c3252c4afa4d48b58d1d2f78ea80a/ :target: https://archive.softwareheritage.org/swh:1:snp:11e81660a96c3252c4afa4d48b58d1d2f78ea80a;origin=https://github.com/gammapy/gammapy | .. image:: https://img.shields.io/badge/A&A-Published-Green.svg :target: https://doi.org/10.1051/0004-6361/202346488 | .. image:: https://img.shields.io/badge/Matomo-3152A0?style=for-the-badge&logo=Matomo&logoColor=white :target: https://matomo.org/
Gammapy
A Python Package for Gamma-ray Astronomy.
Gammapy is an open-source Python package for gamma-ray astronomy built on Numpy, Scipy and Astropy. It is used as core library for the Science Analysis tools of the CTAO, recommended by the H.E.S.S. collaboration to be used for Science publications, and is already widely used in the analysis of existing gamma-ray instruments, such as MAGIC, VERITAS and HAWC.
- Webpage: https://gammapy.org
- Documentation: https://docs.gammapy.org/
- Code: https://github.com/gammapy/gammapy
Contributing Code, Documentation, or Feedback
+++++++++++++++++++++++++++++++++++++++++++++
The Gammapy Project is made both by and for its users, so we welcome and encourage contributions of many kinds. Our
goal is to keep this a positive, inclusive, successful, and growing community by abiding with the
Gammapy Community Code of Conduct <https://gammapy.org/CoC.html>_.
The Gammapy project uses a mechanism known as a Developer Certificate of Origin (DCO). The DCO is a binding statement
that asserts that you are the creator of your contribution, and that you wish to allow Gammapy to use your work to cite
you as contributor. More detailed information on contributing to the project or submitting feedback can be found on the
Contributing page <https://github.com/gammapy/gammapy/blob/master/CONTRIBUTING.md>_.
Licence
+++++++
Gammapy is licensed under a 3-clause BSD style license - see the
LICENSE.rst <https://github.com/gammapy/gammapy/blob/master/LICENSE.rst>_ file.
The Gammapy documentation is licensed under the CC BY-NC-SA <https://creativecommons.org/licenses/by-nc-sa/4.0/>_
license. Examples, recipes, and other code in the documentation are additionally licensed under the
BSD 3-Clause "New" or "Revised" <https://opensource.org/license/BSD-3-Clause>_ license.
Supporting the project
++++++++++++++++++++++
The Gammapy project is not sponsored and the development is made by the staff of the institutes supporting the project <https://gammapy.org/team.html#support>_ over their research time. Any contribution is then encouraged, as punctual or
regular contributor.
Status shields ++++++++++++++
(mostly useful for developers)
-
.. image:: https://app.codacy.com/project/badge/Grade/9c32a21a915d4a28823f3b44a99a2810 :target: https://app.codacy.com/gh/gammapy/gammapy/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade :alt: Codacy
-
.. image:: https://github.com/gammapy/gammapy/actions/workflows/ci.yml/badge.svg :target: https://github.com/gammapy/gammapy/actions/workflows/ci.yml :alt: GitHub actions CI
-
.. image:: https://codecov.io/gh/gammapy/gammapy/branch/main/graph/badge.svg?style=flat :target: https://codecov.io/gh/gammapy/gammapy
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
107.2kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
346.4kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
