catalog - Source catalogs

Introduction

gammapy.catalog provides convenient access to common gamma-ray source catalogs.

For each catalog, a SourceCatalog class is provided to represent the catalog table, and a matching SourceCatalogObject class to represent one catalog source and table row.

The main functionality provided is methods that map catalog information to SkyModel, SpectralModel, SpatialModel, FluxPoints and LightCurve objects.

gammapy.catalog is independent from the rest of Gammapy. The typical use cases are to compare your results against previous results in the catalogs (e.g. overplot a spectral model), or to create initial source models for certain energy bands and sky regions.

Using gammapy.catalog

Gammapy tutorial notebooks that show examples using gammapy.catalog:

Reference/API

gammapy.catalog Package

Source catalogs.

Classes

SourceCatalog(table[, source_name_key, …])

Generic source catalog.

SourceCatalogObjectHGPS(data[, data_extended])

One object from the HGPS catalog.

SourceCatalogObject2FHL(data[, data_extended])

One source from the Fermi-LAT 2FHL catalog.

SourceCatalogObject3FHL(data[, data_extended])

One source from the Fermi-LAT 3FHL catalog.

SourceCatalogObject3FGL(data[, data_extended])

One source from the Fermi-LAT 3FGL catalog.

SourceCatalogObject4FGL(data[, data_extended])

One source from the Fermi-LAT 4FGL catalog.

SourceCatalogObject2HWC(data[, data_extended])

One source from the HAWC 2HWC catalog.

SourceCatalogObject3HWC(data[, data_extended])

One source from the HAWC 3HWC catalog.

SourceCatalogObjectGammaCat(data[, …])

One object from the gamma-cat source catalog.

SourceCatalogObjectHGPSComponent(data)

One Gaussian component from the HGPS catalog.

SourceCatalogLargeScaleHGPS(table[, …])

Gaussian band model.

SourceCatalogObject(data[, data_extended])

Source catalog object.

SourceCatalogGammaCat([filename])

Gammacat open TeV source catalog.

SourceCatalogHGPS([filename, hdu])

HESS Galactic plane survey (HGPS) source catalog.

SourceCatalog2HWC([filename])

HAWC 2HWC catalog.

SourceCatalog3FGL([filename])

Fermi-LAT 3FGL source catalog.

SourceCatalog4FGL([filename])

Fermi-LAT 4FGL-DR2 source catalog.

SourceCatalog2FHL([filename])

Fermi-LAT 2FHL source catalog.

SourceCatalog3FHL([filename])

Fermi-LAT 3FHL source catalog.

SourceCatalog3HWC([filename])

HAWC 3HWC catalog.

Variables

CATALOG_REGISTRY

Registry of source catalogs in Gammapy.