SourceCatalogObject

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

Bases: object

Source catalog object.

This class can be used directly, but it’s 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 on OrderedDict.

The source catalog object is decoupled from the source catalog, it doesn’t hold a reference back to it. The catalog table row index is stored in _table_row_index though, because it can be useful for debugging or display.

Attributes Summary

index Row index of source in catalog (int)
name Source name (str)
position Source position (SkyCoord).

Attributes Documentation

index

Row index of source in catalog (int)

name

Source name (str)

position

Source position (SkyCoord).