SourceCatalog2FHL¶
-
class
gammapy.catalog.SourceCatalog2FHL(filename='$GAMMAPY_EXTRA/datasets/catalogs/fermi/gll_psch_v08.fit.gz')[source]¶ Bases:
gammapy.catalog.SourceCatalogFermi-LAT 2FHL source catalog.
One source is represented by
SourceCatalogObject2FHL.Attributes Summary
descriptionnamepositionsSkyCoordMethods Summary
copy()Copy catalog info()Print info string. row_index(name)Look up row index of source by name. select_image_region(image)Select all source within an image source_name(index)Look up source name by row index. Attributes Documentation
-
description= 'LAT second high-energy source catalog'¶
-
name= '2fhl'¶
Methods Documentation
-
copy()¶ Copy catalog
-
info()¶ Print info string.
-
row_index(name)¶ Look up row index of source by name.
Parameters: name : str
Source name
Returns: index : int
Row index of source in table
-
select_image_region(image)¶ Select all source within an image
Parameters: image :
SkyImageSky image
Returns: catalog :
SourceCatalogSource catalog selection.
-
source_name(index)¶ Look up source name by row index.
Parameters: index : int
Row index of source in table
-