SourceCatalogObjectGammaCat#

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

Bases: gammapy.catalog.core.SourceCatalogObject

One object from the gamma-cat source catalog.

Catalog is represented by SourceCatalogGammaCat.

Attributes Summary

flux_points

Flux points (FluxPoints).

flux_points_table

Differential flux points (FluxPoints).

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

Information string.

sky_model()

Source sky model (SkyModel).

spatial_model()

Source spatial model (SpatialModel).

spectral_model()

Source spectral model (SpectralModel).

Attributes Documentation

flux_points#

Flux points (FluxPoints).

flux_points_table#

Differential flux points (FluxPoints).

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')[source]#

Information 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.