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
energy_rangeSpectral model energy range ( Quantitywith length 2).flux_pointsFlux points ( FluxPoints).indexRow index of source in catalog (int) is_pointlikeSource is pointlike? (bool) nameSource name (str) positionSource position ( SkyCoord).spatial_modelSpatial model ( SkySpatialModel).spatial_model_typeSpatial model type (str). spectral_model_typeSpectral model type (str). Methods Summary
info(self[, info])Info string. sky_model(self[, which])Source sky model. spectral_model(self[, which])Spectral model ( SpectralModel).Attributes Documentation
-
flux_points¶ Flux points (
FluxPoints).
-
index¶ Row index of source in catalog (int)
-
is_pointlike¶ Source is pointlike? (bool)
-
name¶ Source name (str)
-
spatial_model¶ Spatial model (
SkySpatialModel).One of the following models (given by
Spatial_Modelin the catalog):Point-Likeor has a size upper limit :SkyPointSourceGaussian:SkyGaussian2-Gaussianor3-Gaussian: composite model (using+with Gaussians)Shell:SkyShell
-
spatial_model_type¶ Spatial model type (str).
One of: ‘point-like’, ‘shell’, ‘gaussian’, ‘2-gaussian’, ‘3-gaussian’
-
spectral_model_type¶ Spectral model type (str).
One of: ‘pl’, ‘ecpl’
Methods Documentation
-
info(self, info='all')[source]¶ Info string.
Parameters: - info : {‘all’, ‘basic’, ‘map’, ‘spec’, ‘flux_points’, ‘components’, ‘associations’, ‘id’}
Comma separated list of options
-
sky_model(self, which='best')[source]¶ Source sky model.
Parameters: - which : {‘best’, ‘pl’, ‘ecpl’}
Which spectral model
Returns: - sky_model :
SkyModel Sky model of the catalog object.
-
spectral_model(self, which='best')[source]¶ Spectral model (
SpectralModel).One of the following models (given by
Spectral_Modelin the catalog):PL:PowerLawECPL:ExponentialCutoffPowerLaw
Parameters: - which : {‘best’, ‘pl’, ‘ecpl’}
Which spectral model
-