Tutorial notebooks

This page lists the Gammapy tutorials that are available as Jupyter notebooks.

You can read them here, or execute them using a temporary cloud server in Binder.

To execute them locally, you have to first install Gammapy locally and download the tutorial notebooks and example datasets. The setup steps are described in Getting Started. Once Gammapy installed, remember that you can always use gammapy info to check your setup.

Notebooks

For a quick introduction to Gammapy, go here:

Interested to do a first analysis of simulated CTA data?

To get started with H.E.S.S. data analysis see here:

3-dimensional cube analysis:

2-dimensional sky image analysis:

1-dimensional spectral analysis:

Time-dependent analysis:

Sensitivity:

Extra topics

These notebooks contain examples on some more specialised functionality in Gammapy.

Basics

Gammapy is a Python package built on Numpy and Astropy, so to use it effectively, you have to learn the basics. To make plots you have to learn a bit of matplotlib.

We plan to add a very simple to use high-level interface to Gammapy where you just have to adjust a config file, but that isn’t available yet.

Here are some great hands-on tutorials to get started quickly: