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
name Source name
position SkyCoord

Methods Summary

info() Print summary info about the object.
pprint([file]) Pretty-print source data

Attributes Documentation

index

Row index of source in catalog

name

Source name

position

SkyCoord

Methods Documentation

info()[source]

Print summary info about the object.

pprint(file=None)[source]

Pretty-print source data