SourceCatalog4FGL

class gammapy.catalog.SourceCatalog4FGL(filename='$GAMMAPY_DATA/catalogs/fermi/gll_psc_v20.fit.gz')[source]

Bases: gammapy.catalog.SourceCatalog

Fermi-LAT 4FGL source catalog.

One source is represented by SourceCatalogObject4FGL.

Attributes Summary

description

positions

Source positions (SkyCoord).

tag

Methods Summary

row_index(self, name)

Look up row index of source by name.

source_name(self, index)

Look up source name by row index.

Attributes Documentation

description = 'LAT 8-year point source catalog'
positions

Source positions (SkyCoord).

tag = '4fgl'

Methods Documentation

row_index(self, name)

Look up row index of source by name.

Parameters
namestr

Source name

Returns
indexint

Row index of source in table

source_name(self, index)

Look up source name by row index.

Parameters
indexint

Row index of source in table