SourceCatalog2FHL

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

Bases: gammapy.catalog.SourceCatalog

Fermi-LAT 2FHL source catalog.

Reference: https://ui.adsabs.harvard.edu/abs/2016ApJS..222….5A

One source is represented by SourceCatalogObject2FHL.

Attributes Summary

description
name
positions Source positions (SkyCoord).

Methods Summary

copy(self) Copy catalog
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 second high-energy source catalog'
name = '2fhl'
positions

Source positions (SkyCoord).

Methods Documentation

copy(self)

Copy catalog

row_index(self, name)

Look up row index of source by name.

Parameters:
name : str

Source name

Returns:
index : int

Row index of source in table

source_name(self, index)

Look up source name by row index.

Parameters:
index : int

Row index of source in table