SourceCatalog3PC#

class gammapy.catalog.SourceCatalog3PC(filename='$GAMMAPY_DATA/catalogs/fermi/3PC_Catalog+SEDs_20230803.fits.gz')[source]#

Bases: SourceCatalog

Fermi-LAT 3rd pulsar catalog.

One source is represented by SourceCatalogObject3PC.

Attributes Summary

description

positions

Source positions as a SkyCoord object.

tag

Methods Summary

row_index(name)

Look up row index of source by name.

source_name(index)

Look up source name by row index.

to_models(**kwargs)

Create Models object from catalog.

Attributes Documentation

description = 'LAT 3rd pulsar catalog'#
positions#

Source positions as a SkyCoord object.

tag = '3PC'#

Methods Documentation

row_index(name)#

Look up row index of source by name.

Parameters:
namestr

Source name.

Returns:
indexint

Row index of source in table.

source_name(index)#

Look up source name by row index.

Parameters:
indexint

Row index of source in table.

to_models(**kwargs)[source]#

Create Models object from catalog.