SourceCatalogObject2PC#

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

Bases: SourceCatalogObjectFermiPCBase

One source from the 2PC catalog.

Attributes Summary

flux_points

Flux points (FluxPoints).

flux_points_table

Flux points (Table).

lightcurve

Light-curve.

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

sky_model([name])

Sky model (SkyModel).

spatial_model()

spectral_model()

Attributes Documentation

flux_points#

Flux points (FluxPoints).

flux_points_table#

Flux points (Table).

lightcurve#

Light-curve.

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')#
sky_model(name=None)#

Sky model (SkyModel).

spatial_model()#
spectral_model()[source]#