SourceCatalogObject2FHL#

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

Bases: SourceCatalogObjectFermiBase

One source from the Fermi-LAT 2FHL catalog.

Catalog is represented by SourceCatalog2FHL.

Attributes Summary

asso

energy_range

Energy range used for the catalog.

flux_points

Flux points as a FluxPoints object.

flux_points_meta

flux_points_table

Flux points as a Table.

is_pointlike

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])

Summary information string.

sky_model([name])

Sky model as a SkyModel object.

spatial_model()

Spatial model as a SpatialModel object.

spectral_model()

Best fit spectral model as a SpectralModel.

Attributes Documentation

asso = ['ASSOC', '3FGL_Name', '1FHL_Name', 'TeVCat_Name']#
energy_range = <Quantity [0.05, 2.  ] TeV>#

Energy range used for the catalog.

flux_points#

Flux points as a FluxPoints object.

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

Flux points as a Table.

is_pointlike#
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')#

Summary information string.

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

Comma separated list of options.

sky_model(name=None)#

Sky model as a SkyModel object.

spatial_model()[source]#

Spatial model as a SpatialModel object.

spectral_model()[source]#

Best fit spectral model as a SpectralModel.