SourceCatalogObjectGammaCat

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

Bases: gammapy.catalog.SourceCatalogObject

One object from the gamma-cat source catalog.

Catalog is represented by SourceCatalogGammaCat.

Attributes Summary

flux_points

Differential 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)

Source sky model (SkyModel).

spatial_model(self)

Source spatial model (SpatialModel).

spectral_model(self)

Source spectral model (SpectralModel).

Attributes Documentation

flux_points

Differential 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’, ‘position, ‘model’}

Comma separated list of options

sky_model(self)[source]

Source sky model (SkyModel).

spatial_model(self)[source]

Source spatial model (SpatialModel).

TODO: add parameter errors!

spectral_model(self)[source]

Source spectral model (SpectralModel).

Parameter errors are statistical errors only.