SourceCatalogObject4FGL

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

Bases: gammapy.catalog.fermi.SourceCatalogObjectFermiBase

One source from the Fermi-LAT 4FGL catalog.

Catalog is represented by SourceCatalog4FGL.

Attributes Summary

asso

flux_points

Flux points (FluxPoints).

lightcurve

Lightcurve (LightCurve).

name

Source name (str)

position

Source position (SkyCoord).

row_index

Row index of source in catalog (int)

Methods Summary

info(self[, info])

Summary info string.

sky_model(self)

Sky model (SkyModel).

spatial_model(self)

Spatial model (SpatialModel).

spectral_model(self)

Best fit spectral model (SpectralModel).

Attributes Documentation

asso = ['ASSOC1', 'ASSOC2', 'ASSOC_TEV', 'ASSOC_FGL', 'ASSOC_FHL', 'ASSOC_GAM1', 'ASSOC_GAM2', 'ASSOC_GAM3']
flux_points

Flux points (FluxPoints).

lightcurve

Lightcurve (LightCurve).

name

Source name (str)

position

Source position (SkyCoord).

row_index

Row index of source in catalog (int)

Methods Documentation

info(self, info='all')

Summary info string.

Parameters
info{‘all’, ‘basic’, ‘more’, ‘position’, ‘spectral’,’lightcurve’}

Comma separated list of options

sky_model(self)

Sky model (SkyModel).

spatial_model(self)[source]

Spatial model (SpatialModel).

spectral_model(self)[source]

Best fit spectral model (SpectralModel).