SourceCatalogObject2HWC¶
-
class
gammapy.catalog.
SourceCatalogObject2HWC
(data, data_extended=None)[source]¶ Bases:
gammapy.catalog.SourceCatalogObject
One source from the HAWC 2HWC catalog.
Catalog is represented by
SourceCatalog2HWC
.Attributes Summary
Number of models (1 or 2).
Source name (str)
Source position (
SkyCoord
).Row index of source in catalog (int)
Methods Summary
info
([info])Summary info string.
sky_model
([which])Sky model (
SkyModel
).spatial_model
([which])Spatial model (
SpatialModel
).spectral_model
([which])Spectral model (
PowerLawSpectralModel
).Attributes Documentation
-
n_models
¶ Number of models (1 or 2).
-
name
¶ Source name (str)
-
row_index
¶ Row index of source in catalog (int)
Methods Documentation
-
info
(info='all')[source]¶ Summary info string.
- Parameters
- info{‘all’, ‘basic’, ‘position’, ‘spectrum’}
Comma separated list of options
-
sky_model
(which='point')[source]¶ Sky model (
SkyModel
).which="point"
- Sky model for point source analysiswhich="extended"
- Sky model for extended source analysis. Only available for some sources. Raise ValueError if not available.
According to the paper, the radius of the extended source model is only a rough estimate of the source size, based on the residual excess..
-
spatial_model
(which='point')[source]¶ Spatial model (
SpatialModel
).which="point"
-PointSpatialModel
which="extended"
-DiskSpatialModel
. Only available for some sources. Raise ValueError if not available.
-
spectral_model
(which='point')[source]¶ Spectral model (
PowerLawSpectralModel
).which="point"
– Spectral model under the point source assumption.which="extended"
– Spectral model under the extended source assumption. Only available for some sources. Raise ValueError if not available.
-