SourceCatalogObjectHGPS

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

Bases: gammapy.catalog.SourceCatalogObject

One object from the HGPS catalog.

The catalog is represented by SourceCatalogHGPS. Examples are given there.

Attributes Summary

energy_range

Spectral model energy range (Quantity with length 2).

flux_points

Flux points (FluxPoints).

name

Source name (str)

position

Source position (SkyCoord).

row_index

Row index of source in catalog (int)

Methods Summary

info(self[, info])

Info string.

sky_model(self[, which])

Source sky model.

spatial_model(self)

Spatial model (SpatialModel).

spectral_model(self[, which])

Spectral model (SpectralModel).

Attributes Documentation

energy_range

Spectral model energy range (Quantity with length 2).

flux_points

Flux points (FluxPoints).

name

Source name (str)

position

Source position (SkyCoord).

row_index

Row index of source in catalog (int)

Methods Documentation

info(self, info='all')[source]

Info string.

Parameters
info{‘all’, ‘basic’, ‘map’, ‘spec’, ‘flux_points’, ‘components’, ‘associations’, ‘id’}

Comma separated list of options

sky_model(self, which='best')[source]

Source sky model.

Parameters
which{‘best’, ‘pl’, ‘ecpl’}

Which spectral model

Returns
sky_modelSkyModel

Sky model of the catalog object.

spatial_model(self)[source]

Spatial model (SpatialModel).

One of the following models (given by Spatial_Model in the catalog):

spectral_model(self, which='best')[source]

Spectral model (SpectralModel).

One of the following models (given by Spectral_Model in the catalog):

Parameters
which{‘best’, ‘pl’, ‘ecpl’}

Which spectral model