SourceCatalog2HWC#
- class gammapy.catalog.SourceCatalog2HWC(filename='$GAMMAPY_DATA/catalogs/2HWC.ecsv')[source]#
Bases:
SourceCatalog
HAWC 2HWC catalog.
One source is represented by
SourceCatalogObject2HWC
.The data is from tables 2 and 3 in the paper [1].
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
[1]Abeysekara et al, “The 2HWC HAWC Observatory Gamma Ray Catalog”, On ADS: 2017ApJ…843…40A
Attributes Summary
Catalog description
Source positions as a
SkyCoord
object.Catalog name
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 = '2HWC catalog from the HAWC observatory'#
Catalog description
- tag = '2hwc'#
Catalog name
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.