SourceCatalogObject3PC#
- class gammapy.catalog.SourceCatalogObject3PC(data, data_extended=None, data_spectral=None)[source]#
Bases:
SourceCatalogObjectFermiPCBase
One source from the 3PC catalog.
Attributes Summary
Flux points (
FluxPoints
).Flux points (
Table
).Light-curve.
Source name as a string.
Source position as an
SkyCoord
object.Row index of source in catalog as an integer.
Methods Summary
info
([info])sky_model
([name])Sky model (
SkyModel
).spectral_model
([fit])In the 3PC, Fermi-LAT collaboration tried to fit a
SuperExpCutoffPowerLaw4FGLDR3SpectralModel
with the exponential indexindex_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.
- row_index#
Row index of source in catalog as an integer.
Methods Documentation
- info(info='all')#
- spatial_model()#
- spectral_model(fit='auto')[source]#
In the 3PC, Fermi-LAT collaboration tried to fit a
SuperExpCutoffPowerLaw4FGLDR3SpectralModel
with the exponential indexindex_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”.