SourceCatalog2FHL#

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

Bases: gammapy.catalog.core.SourceCatalog

Fermi-LAT 2FHL source catalog.

One source is represented by SourceCatalogObject2FHL.

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 second high-energy source catalog'#
positions#

Source positions as a SkyCoord object.

tag = '2fhl'#

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.