SourceCatalogObject#
- class gammapy.catalog.SourceCatalogObject(data, data_extended=None)[source]#
Bases:
objectSource 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.dataattribute 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_indexof typeintthat 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)