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).
index Row index of source in catalog
is_pointlike Source is pointlike.
name Source name
position SkyCoord
spectral_model Source spectral model (SpectralModel).

Methods Summary

info([info]) Info string.
pprint([file]) Pretty-print source data
spatial_model([emin, emax]) Source spatial model.

Attributes Documentation

flux_points

Differential flux points (FluxPoints).

index

Row index of source in catalog

is_pointlike

Source is pointlike.

name

Source name

position

SkyCoord

spectral_model

Source spectral model (SpectralModel).

Parameter errors are statistical errors only.

Methods Documentation

info(info='all')[source]

Info string.

Parameters:

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

Comma separated list of options

pprint(file=None)

Pretty-print source data

spatial_model(emin=<Quantity 1. TeV>, emax=<Quantity 10. TeV>)[source]

Source spatial model.