SourceCatalogObject4FGL#
- class gammapy.catalog.SourceCatalogObject4FGL[source]#
Bases:
SourceCatalogObjectFermiBase
One source from the Fermi-LAT 4FGL catalog.
Catalog is represented by
SourceCatalog4FGL
.Attributes Summary
Flux points as a
Table
.Methods Summary
lightcurve
([interval])Lightcurve as a
FluxPoints
object.Spatial model as a
SpatialModel
object.Best fit spectral model as a
SpectralModel
object.Attributes Documentation
- asso = ['ASSOC1', 'ASSOC2', 'ASSOC_TEV', 'ASSOC_FGL', 'ASSOC_FHL', 'ASSOC_GAM1', 'ASSOC_GAM2', 'ASSOC_GAM3']#
Methods Documentation
- lightcurve(interval='1-year')[source]#
Lightcurve as a
FluxPoints
object.- Parameters:
- interval{‘1-year’, ‘2-month’}
Time interval of the lightcurve. Default is ‘1-year’. Note that ‘2-month’ is not available for all catalogue version.
- spatial_model()[source]#
Spatial model as a
SpatialModel
object.
- spectral_model()[source]#
Best fit spectral model as a
SpectralModel
object.
- __init__(data, data_extended=None, data_spectral=None)#
- classmethod __new__(*args, **kwargs)#