SourceCatalogObject#

class gammapy.catalog.SourceCatalogObject(data, data_extended=None)[source]#

Bases: object

Source catalog object.

This class can be used directly, but it is mostly used as a base class for the other source catalog classes.

The catalog data on this source is stored in the source.data attribute as a dict.

The source catalog object is decoupled from the source catalog, it doesn’t hold a reference back to it, except for a key _row_index of type int that links to the catalog table row the source information comes from.

Attributes Summary

name

Source name (str)

position

Source position (SkyCoord).

row_index

Row index of source in catalog (int)

Attributes Documentation

name#

Source name (str)

position#

Source position (SkyCoord).

row_index#

Row index of source in catalog (int)