SourceCatalogObject2HWC¶
-
class
gammapy.catalog.SourceCatalogObject2HWC(data, data_extended=None)[source]¶ Bases:
gammapy.catalog.SourceCatalogObjectOne source from the HAWC 2HWC catalog.
Catalog is represented by
SourceCatalog2HWC.Attributes Summary
indexRow index of source in catalog (int) n_spectraNumber of measured spectra (1 or 2). nameSource name (str) positionSource position ( SkyCoord).spectral_modelsSpectral models (either one or two). Methods Summary
info(self[, info])Summary info string. Attributes Documentation
-
index¶ Row index of source in catalog (int)
-
n_spectra¶ Number of measured spectra (1 or 2).
-
name¶ Source name (str)
-
spectral_models¶ Spectral models (either one or two).
The HAWC catalog has one or two spectral measurements for each source.
Returns: - models : list
List of
SpectralModel
Methods Documentation
-