SourceCatalogObject3HWC#
- class gammapy.catalog.SourceCatalogObject3HWC(data, data_extended=None, data_spectral=None)[source]#
Bases:
SourceCatalogObjectHWCBaseOne 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
SkyCoordobject.Row index of source in catalog as an integer.
Methods Summary
info([info])Summary information string.
Sky model as a
SkyModelobject.Spatial model as a
SpatialModelobject.Spectral model as a
PowerLawSpectralModelobject.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
SpatialModelobject.
- spectral_model()[source]#
Spectral model as a
PowerLawSpectralModelobject.