SourceCatalogObjectHGPS

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

Bases: gammapy.catalog.SourceCatalogObject

One object from the HGPS catalog.

Attributes Summary

energy_range Spectral model energy range (Quantity with length 2).
flux_points Flux points (FluxPoints).
index Row index of source in catalog
is_pointlike Source is pointlike
name Source name
position SkyCoord
spectral_model Spectral model (SpectralModel).

Methods Summary

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

Attributes Documentation

energy_range

Spectral model energy range (Quantity with length 2).

flux_points

Flux points (FluxPoints).

index

Row index of source in catalog

is_pointlike

Source is pointlike

name

Source name

position

SkyCoord

spectral_model

Spectral model (SpectralModel).

One of the following models:

Methods Documentation

info(info='all')[source]

Info string.

Parameters:

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

Comma separated list of options

pprint(file=None)

Pretty-print source data

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

Source spatial model.