SourceCatalogObject2HWC#
- class gammapy.catalog.SourceCatalogObject2HWC[source]#
Bases:
SourceCatalogObjectHWCBaseOne source from the HAWC 2HWC catalog.
Catalog is represented by
SourceCatalog2HWC.Attributes Summary
Number of models (1 or 2).
Methods Summary
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).
Methods Documentation
- sky_model(which='point')[source]#
Sky model (
SkyModel).which="point"- Sky model for point source analysis.which="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.
- __init__(data, data_extended=None, data_spectral=None)#
- classmethod __new__(*args, **kwargs)#