catalog_table¶
-
gammapy.image.
catalog_table
(catalog, energy_bands=False)[source]¶ Creates catalog table from published source catalog.
This creates a table of catalog sources, positions and fluxes for an indicated published source catalog - either 1FHL or 2FGL. This should be used to in instances where a table is required, for instance as an input for the
catalog_image
function.Parameters: catalog : {‘1FHL’, ‘2FGL’}
Catalog to load.
energy_bands : bool
Whether to return catalog in energy bands.
Returns: table :
Table
Point source catalog table.