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([info])

Info string.

sky_model()

Source sky model (SkyModel).

spatial_model()

Source spatial model (SpatialModel).

spectral_model()

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(info='all')[source]

Info string.

Parameters
info{‘all’, ‘basic’, ‘position, ‘model’}

Comma separated list of options

sky_model()[source]

Source sky model (SkyModel).

spatial_model()[source]

Source spatial model (SpatialModel).

TODO: add parameter errors!

spectral_model()[source]

Source spectral model (SpectralModel).

Parameter errors are statistical errors only.