SourceCatalogObject3FGL

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

Bases: gammapy.catalog.SourceCatalogObject

One source from the Fermi-LAT 3FGL catalog.

Catalog is represented by SourceCatalog3FGL.

Attributes Summary

energy_range Energy range of the catalog.
flux_points Flux points (FluxPoints).
index Row index of source in catalog
is_pointlike
lightcurve Lightcurve (LightCurve).
name Source name
position SkyCoord
spectral_model Best fit spectral model (SpectralModel).

Methods Summary

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

Attributes Documentation

energy_range = <Quantity [ 100., 100000.] MeV>

Energy range of the catalog.

Paper says that analysis uses data up to 300 GeV, but results are all quoted up to 100 GeV only to be consistent with previous catalogs.

flux_points

Flux points (FluxPoints).

index

Row index of source in catalog

is_pointlike
lightcurve

Lightcurve (LightCurve).

Examples

>>> from gammapy.catalog import source_catalogs
>>> source = source_catalogs['3fgl']['3FGL J0349.9-2102']
>>> lc = source.lightcurve
>>> lc.plot()
name

Source name

position

SkyCoord

spectral_model

Best fit spectral model (SpectralModel).

Methods Documentation

info(info='all')[source]

Summary info string.

Parameters:

info : {‘all’, ‘basic’, ‘position’, ‘spectral’, ‘lightcurve’}

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.