SourceCatalogObject3HWC#
- class gammapy.catalog.SourceCatalogObject3HWC(data, data_extended=None, data_spectral=None)[source]#
Bases:
SourceCatalogObjectHWCBase
One source from the HAWC 3HWC catalog.
Catalog is represented by
SourceCatalog3HWC
.Attributes Summary
Number of models.
Source name as a string.
Source position as an
SkyCoord
object.Row index of source in catalog as an integer.
Methods Summary
info
([info])Summary information string.
Sky model as a
SkyModel
object.Spatial model as a
SpatialModel
object.Spectral model as a
PowerLawSpectralModel
object.Attributes Documentation
- is_pointlike#
- n_models#
Number of models.
- name#
Source name as a string.
- row_index#
Row index of source in catalog as an integer.
Methods Documentation
- info(info='all')#
Summary information string.
- Parameters:
- info{‘all’, ‘basic’, ‘position’, ‘spectrum’}
Comma separated list of options
- spatial_model()[source]#
Spatial model as a
SpatialModel
object.
- spectral_model()[source]#
Spectral model as a
PowerLawSpectralModel
object.