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 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 typeint
that links to the catalog table row the source information comes from.Attributes Summary
Source name (str)
Source position (
SkyCoord
).Row index of source in catalog (int)
Attributes Documentation
-
name
¶ Source name (str)
-
row_index
¶ Row index of source in catalog (int)
-