SourceCatalogObject3PC#

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

Bases: SourceCatalogObjectFermiPCBase

One source from the 3PC catalog.

Attributes Summary

asso

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([fit])

In the 3PC, Fermi-LAT collaboration tried to fit a SuperExpCutoffPowerLaw4FGLDR3SpectralModel with the exponential index index_2 free, or fixed to 2/3.

Attributes Documentation

asso = ['assoc_new']#
flux_points#

Flux points (FluxPoints).

flux_points_table#

Flux points (Table). Flux point is an upper limit if its significance is less than 2.

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(fit='auto')[source]#

In the 3PC, Fermi-LAT collaboration tried to fit a SuperExpCutoffPowerLaw4FGLDR3SpectralModel with the exponential index index_2 free, or fixed to 2/3. These two models are referred as “b free” and “b 23”. For most pulsars, both models are available. However, in some cases the “b free” model did not fit correctly.

Parameters:
fitstr, optional

Which fitted model to return. The user can choose between “auto”, “b free” and “b 23”. “auto” will always try to return the “b free” first and fall back to the “b 23” fit if “b free” is not available. Default is “auto”.