GammaCatDataCollection

class gammapy.catalog.GammaCatDataCollection(data_index)[source]

Bases: object

Data store for gamma-cat.

Gives access to all data from https://github.com/gammapy/gamma-cat .

Holds a GammaCatResourceIndex to locate resources, but also more info about gamma-cat, as well as methods to create Gammapy objects (spectral models, flux points, lightcurves) from the datasets.

Methods Summary

from_index_file([filename]) Create from index file.

Methods Documentation

classmethod from_index_file(filename='$GAMMA_CAT/output/gammacat-datasets.json')[source]

Create from index file.