SourceCatalogObject¶
-
class
gammapy.catalog.SourceCatalogObject(data, data_extended=None)[source]¶ Bases:
objectSource 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.dataattribute as a dict.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_indexthough, because it can be useful for debugging or display.Attributes Summary
indexRow index of source in catalog (int) nameSource name (str) positionSource position ( SkyCoord).Attributes Documentation
-
index¶ Row index of source in catalog (int)
-
name¶ Source name (str)
-