SourceCatalogObject1LHAASO#
- class gammapy.catalog.SourceCatalogObject1LHAASO(data, data_extended=None)[source]#
Bases:
gammapy.catalog.core.SourceCatalogObject
One source from the 1LHAASO catalog.
Catalog is represented by
SourceCatalog1LHAASO
.Attributes Summary
Source name as a string.
Source position as an
SkyCoord
object.Row index of source in catalog as an integer.
Methods Summary
sky_model
([which])Sky model as a
SkyModel
object.spatial_model
(which)Spatial model as a
SpatialModel
object.spectral_model
(which)Spectral model as a
PowerLawSpectralModel
object.Attributes Documentation
- name#
Source name as a string.
- row_index#
Row index of source in catalog as an integer.
Methods Documentation
- sky_model(which='both')[source]#
Sky model as a
SkyModel
object.which="both"
- Create a composite template if both models are available, or, use the available oneif only one is present.
which="KM2A"
- Sky model for KM2A analysis if available.which="WCDA"
- Sky model for WCDA analysis if available.
- spatial_model(which)[source]#
Spatial model as a
SpatialModel
object.which="KM2A"
- Sky model for KM2A analysis only.which="WCDA"
- Sky model for WCDA analysis only.
- spectral_model(which)[source]#
Spectral model as a
PowerLawSpectralModel
object.which="KM2A"
- Sky model for KM2A analysis only.which="WCDA"
- Sky model for WCDA analysis only.