SourceCatalogObject4FGL

class gammapy.catalog.SourceCatalogObject4FGL(data, data_extended=None)[source]

Bases: gammapy.catalog.fermi.SourceCatalogObjectFermiBase

One source from the Fermi-LAT 4FGL catalog.

Catalog is represented by SourceCatalog4FGL.

Attributes Summary

asso

flux_points

Flux points (FluxPoints).

flux_points_meta

flux_points_table

Flux points (Table).

is_pointlike

name

Source name (str)

position

Source position (SkyCoord).

row_index

Row index of source in catalog (int)

Methods Summary

info([info])

Summary info string.

lightcurve([interval])

Lightcurve (FluxPoints).

sky_model([name])

Sky model (SkyModel).

spatial_model()

Spatial model (SpatialModel).

spectral_model()

Best fit spectral model (SpectralModel).

Attributes Documentation

asso = ['ASSOC1', 'ASSOC2', 'ASSOC_TEV', 'ASSOC_FGL', 'ASSOC_FHL', 'ASSOC_GAM1', 'ASSOC_GAM2', 'ASSOC_GAM3']
flux_points

Flux points (FluxPoints).

flux_points_meta = {'n_sigma': 1, 'n_sigma_ul': 2, 'sed_type_init': 'flux', 'sqrt_ts_threshold_ul': 1}
flux_points_table

Flux points (Table).

is_pointlike
name

Source name (str)

position

Source position (SkyCoord).

row_index

Row index of source in catalog (int)

Methods Documentation

info(info='all')

Summary info string.

Parameters
info{‘all’, ‘basic’, ‘more’, ‘position’, ‘spectral’,’lightcurve’}

Comma separated list of options

lightcurve(interval='1-year')[source]

Lightcurve (FluxPoints).

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.

sky_model(name=None)

Sky model (SkyModel).

spatial_model()[source]

Spatial model (SpatialModel).

spectral_model()[source]

Best fit spectral model (SpectralModel).