SourceCatalog2HWC¶
-
class
gammapy.catalog.SourceCatalog2HWC(filename='$GAMMAPY_EXTRA/datasets/catalogs/2HWC.ecsv')[source]¶ Bases:
gammapy.catalog.SourceCatalogHAWC 2HWC catalog.
One source is represented by
SourceCatalogObject2HWC.The data is from tables 2 and 3 in the paper [R11].
The catalog table contains 40 rows / sources. The paper mentions 39 sources e.g. in the abstract. The difference is due to Geminga, which was detected as two “sources” by the algorithm used to make the catalog, but then in the discussion considered as one source.
References
[R11] (1, 2) Abeysekara et al, “The 2HWC HAWC Observatory Gamma Ray Catalog”, On ADS: 2017ApJ…843…40A Attributes Summary
descriptionCatalog description nameCatalog name positionsSkyCoordMethods 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= '2HWC catalog from the HAWC observatory'¶ Catalog description
-
name= '2hwc'¶ Catalog name
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
-