SourceCatalogSNRcat¶
-
class
gammapy.catalog.
SourceCatalogSNRcat
(cache=False)[source]¶ Bases:
gammapy.catalog.SourceCatalog
SNRcat supernova remnant catalog.
SNRcat is a census of high-energy observations of Galactic supernova remnants.
This function downloads the following CSV-format tables and adds some useful columns and unit information:
- http://www.physics.umanitoba.ca/snr/SNRcat/SNRdownload.php?table=SNR
- http://www.physics.umanitoba.ca/snr/SNRcat/SNRdownload.php?table=OBS
This only represents a subset of the information available in SNRcat, to get at the rest we would have to scrape their web pages.
Each table has a
version
string containing the download date in thetable.meta
dictionary.Attributes Summary
description
name
positions
SkyCoord
Methods 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
= 'SNRcat supernova remnant catalog.'¶
-
name
= 'snrcat'¶
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 :
SkyImage
Sky image
Returns: catalog :
SourceCatalog
Source catalog selection.
-
source_name
(index)¶ Look up source name by row index.
Parameters: index : int
Row index of source in table