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

name

positions

Source positions (SkyCoord).

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'
name = '4fgl'
positions

Source positions (SkyCoord).

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