SourceCatalogObjectHGPS¶
-
class
gammapy.catalog.SourceCatalogObjectHGPS(data, data_extended=None)[source]¶ Bases:
gammapy.catalog.SourceCatalogObjectOne object from the HGPS catalog.
The catalog is represented by
SourceCatalogHGPS. Examples are given there.Attributes Summary
Spectral model energy range (
Quantitywith length 2).Flux points (
FluxPoints).Flux points table (
Table).Source name (str)
Source position (
SkyCoord).Row index of source in catalog (int)
Methods Summary
components_models([which, linked])Models of the source components.
info([info])Info string.
sky_model([which])Source sky model.
Spatial model (
SpatialModel).spectral_model([which])Spectral model (
SpectralModel).Attributes Documentation
-
flux_points¶ Flux points (
FluxPoints).
-
name¶ Source name (str)
-
row_index¶ Row index of source in catalog (int)
Methods Documentation
-
components_models(which='best', linked=False)[source]¶ Models of the source components.
- Parameters
- which{‘best’, ‘pl’, ‘ecpl’}
Which spectral model
- linkedbool
Each sub-component of a source is given as a different
SkyModelIf True the spectral parameters except the mormalisation are linked. Default is False
- Returns
- sky_model
Models Models of the catalog object.
- sky_model
-
info(info='all')[source]¶ Info string.
- Parameters
- info{‘all’, ‘basic’, ‘map’, ‘spec’, ‘flux_points’, ‘components’, ‘associations’, ‘id’}
Comma separated list of options
-
sky_model(which='best')[source]¶ Source sky model.
- Parameters
- which{‘best’, ‘pl’, ‘ecpl’}
Which spectral model
- Returns
- sky_model
Models Models of the catalog object.
- sky_model
-
spatial_model()[source]¶ Spatial model (
SpatialModel).One of the following models (given by
Spatial_Modelin the catalog):Point-Likeor has a size upper limit :PointSpatialModelGaussian:GaussianSpatialModel2-Gaussianor3-Gaussian: composite model (using+with Gaussians)Shell:ShellSpatialModel
-
spectral_model(which='best')[source]¶ Spectral model (
SpectralModel).One of the following models (given by
Spectral_Modelin the catalog):- Parameters
- which{‘best’, ‘pl’, ‘ecpl’}
Which spectral model
-