SourceCatalogObjectHGPS¶
-
class
gammapy.catalog.
SourceCatalogObjectHGPS
(data, data_extended=None)[source]¶ Bases:
gammapy.catalog.SourceCatalogObject
One object from the HGPS catalog.
The catalog is represented by
SourceCatalogHGPS
. Examples are given there.Attributes Summary
energy_range
Spectral model energy range ( Quantity
with length 2).flux_points
Flux points ( FluxPoints
).index
Row index of source in catalog (int) is_pointlike
Source is pointlike? (bool) name
Source name (str) position
Source position ( SkyCoord
).sky_model
Source sky model ( SkyModel
).spatial_model
Spatial model ( SkySpatialModel
).spatial_model_type
Spatial model type (str). spectral_model_type
Spectral model type (str). Methods Summary
info
([info])Info string. spectral_model
([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_Model
in the catalog):Point-Like
or has a size upper limit :SkyPointSource
Gaussian
:SkyGaussian
2-Gaussian
or3-Gaussian
: composite model (using+
with Gaussians)Shell
:SkyShell
TODO: add parameter errors
-
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
(info='all')[source]¶ Info string.
Parameters: info : {‘all’, ‘basic’, ‘map’, ‘spec’, ‘flux_points’, ‘components’, ‘associations’, ‘id’}
Comma separated list of options
-
spectral_model
(which='best')[source]¶ Spectral model (
SpectralModel
).One of the following models (given by
Spectral_Model
in the catalog):PL
:PowerLaw
ECPL
:ExponentialCutoffPowerLaw
Parameters: which : {‘best’, ‘pl’, ‘ecpl’}
Which spectral model
-