SourceCatalogObject3PC#
- class gammapy.catalog.SourceCatalogObject3PC[source]#
Bases:
SourceCatalogObjectFermiPCBaseOne source from the 3PC catalog.
Attributes Summary
Flux points (
FluxPoints).Flux points (
Table).Light-curve.
Source name as a string.
Source position as an
SkyCoordobject.Best fit of the > 100 MeV 3PC pulse profile.
Radio pulse profile provided in the auxiliary file of 3PC.
The 3PC pulse profiles are provided in different energy ranges, each represented in weighted counts.
Row index of source in catalog as an integer.
Methods Summary
info([info])sky_model([name])Sky model (
SkyModel).spectral_model([fit])Best fit spectral model.
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.
- pulse_profile_best_fit#
Best fit of the > 100 MeV 3PC pulse profile.
- Returns:
- best_fit_profile:
RegionNDMap Map containing the best fit.
- best_fit_profile:
- pulse_profile_radio#
Radio pulse profile provided in the auxiliary file of 3PC.
- Returns:
- radio_profile:
RegionNDMap Map containing the radio profile.
- radio_profile:
- pulse_profiles#
The 3PC pulse profiles are provided in different energy ranges, each represented in weighted counts.
These profiles are stored in a
MapsofRegionNDMap, one per energy bin.The
Mapskeys correspond to specific energy ranges as follows:GT100_WtCnt: > 0.1 GeV50_100_WtCt: 0.05 – 0.1 GeV100_300_WtCt: 0.1 – 0.3 GeV300_1000_WtCt: 0.3 – 1 GeV1000_3000_WtCt: 1 – 3 GeV3000_100000_WtCt: 3 – 1000 GeV10000_100000_WtCt: 10 – 1000 GeV
Each pulse profile has an associated uncertainty map, which can be accessed by prepending
"Unc_"to the corresponding key.- Returns:
- maps:
Maps Maps containing the pulse profile in the different energy bin.
- maps:
- row_index#
Row index of source in catalog as an integer.
Methods Documentation
- info(info='all')#
- spatial_model()#
- spectral_model(fit='auto')[source]#
Best fit spectral model.
In the 3PC, Fermi-LAT collaboration tried to fit a
SuperExpCutoffPowerLaw4FGLDR3SpectralModelwith the exponential indexindex_2free, 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”.
- __init__(data, data_extended=None, data_spectral=None)#
- classmethod __new__(*args, **kwargs)#