SourceCatalogObject3HWC#

class gammapy.catalog.SourceCatalogObject3HWC(data, data_extended=None)[source]#

Bases: gammapy.catalog.hawc.SourceCatalogObjectHWCBase

One source from the HAWC 3HWC catalog.

Catalog is represented by SourceCatalog3HWC.

Attributes Summary

is_pointlike

n_models

Number of models.

name

Source name as a string.

position

Source position as an SkyCoord object.

row_index

Row index of source in catalog as an integer.

Methods Summary

info([info])

Summary information string.

sky_model()

Sky model as a SkyModel object.

spatial_model()

Spatial model as a SpatialModel object.

spectral_model()

Spectral model as a PowerLawSpectralModel object.

Attributes Documentation

is_pointlike#
n_models#

Number of models.

name#

Source name as a string.

position#

Source position as an SkyCoord object.

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

sky_model()[source]#

Sky model as a SkyModel object.

spatial_model()[source]#

Spatial model as a SpatialModel object.

spectral_model()[source]#

Spectral model as a PowerLawSpectralModel object.