SourceCatalog4FGL

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

Bases: gammapy.catalog.SourceCatalog

Fermi-LAT 4FGL-DR2 source catalog.

One source is represented by SourceCatalogObject4FGL.

Attributes Summary

description

positions

Source positions (SkyCoord).

tag

Methods Summary

row_index(name)

Look up row index of source by name.

source_name(index)

Look up source name by row index.

to_models(**kwargs)

Create Models object from catalogue

Attributes Documentation

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

Source positions (SkyCoord).

tag = '4fgl'

Methods Documentation

row_index(name)

Look up row index of source by name.

Parameters
namestr

Source name

Returns
indexint

Row index of source in table

source_name(index)

Look up source name by row index.

Parameters
indexint

Row index of source in table

to_models(**kwargs)

Create Models object from catalogue