SourceCatalog3FHL¶
-
class
gammapy.catalog.
SourceCatalog3FHL
(filename='$GAMMAPY_DATA/catalogs/fermi/gll_psch_v13.fit.gz')[source]¶ Bases:
gammapy.catalog.SourceCatalog
Fermi-LAT 3FHL source catalog.
Reference: http://adsabs.harvard.edu/abs/2017ApJS..232…18A
One source is represented by
SourceCatalogObject3FHL
.Attributes Summary
description
name
positions
Source positions ( SkyCoord
).source_categories
Methods Summary
copy
()Copy catalog is_source_class
(source_class)Check if source belongs to a given source class. row_index
(name)Look up row index of source by name. select_source_class
(source_class)Select all sources of a given source class. source_name
(index)Look up source name by row index. Attributes Documentation
-
description
= 'LAT third high-energy source catalog'¶
-
name
= '3fhl'¶
-
source_categories
= {'EXTRA-GALACTIC': ['BLL', 'FSRQ', 'NLSY1', 'RDG'], 'GALACTIC': ['BIN', 'HMB', 'PSR', 'PWN', 'SFR', 'SNR'], 'extra-galactic': ['agn', 'bcu', 'bll', 'fsrq', 'rdg', 'sbg'], 'galactic': ['glc', 'hmb', 'psr', 'pwn', 'sfr', 'snr', 'spp'], 'unassociated': ['']}¶
Methods Documentation
-
copy
()¶ Copy catalog
-
is_source_class
(source_class)[source]¶ Check if source belongs to a given source class.
The classes are described in Table 3 of the 3FGL paper:
http://adsabs.harvard.edu/abs/2015arXiv150102003T
Parameters: - source_class : str
Source class designator as defined in Table 3. There are a few extra selections available:
- ‘ALL’: all identified objects
- ‘all’: all objects with associations
- ‘galactic’: all sources with an associated galactic object
- ‘GALACTIC’: all identified galactic sources
- ‘extra-galactic’: all sources with an associated extra-galactic object
- ‘EXTRA-GALACTIC’: all identified extra-galactic sources
- ‘unassociated’: all unassociated objects
Returns: - selection :
ndarray
Selection mask.
-
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_source_class
(source_class)[source]¶ Select all sources of a given source class.
See
SourceCatalog3FHL.is_source_class
for further documentationParameters: - source_class : str
Source class designator.
Returns: - selection :
SourceCatalog3FHL
Subset of the 3FHL catalog containing only the selected source class.
-
source_name
(index)¶ Look up source name by row index.
Parameters: - index : int
Row index of source in table
-