SourceCatalog4FGL#

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

Bases: SourceCatalog

Fermi-LAT 4FGL source catalog.

By default we use the file of the DR4 initial release from https://fermi.gsfc.nasa.gov/ssc/data/access/lat/14yr_catalog/

One source is represented by SourceCatalogObject4FGL.

Attributes Summary

description

positions

Source positions as a SkyCoord object.

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 catalog.

Attributes Documentation

description = 'LAT 14-year point source catalog'#
positions#

Source positions as a SkyCoord object.

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 catalog.