threeML.catalogs.FermiLAT module

class threeML.catalogs.FermiLAT.FermiLATSourceCatalog(update=False)[source]

Bases: VirtualObservatoryCatalog

apply_format(table)[source]
get_model(use_association_name=True, exposure=None, npred_min=0)[source]

Build the model with FGL sources :param use_association_name: use the name of the associated source (stored in assoc_name column) :param exposure: exposure in cm2 * seconds (can be calculated with gtexposure) :param npred_min: minimum number of predicted events. :return: model

class threeML.catalogs.FermiLAT.FermiPySourceCatalog(catalog_name='4FGL', update=True)[source]

Bases: FermiLATSourceCatalog

Searches for sources in a cone of given radius and center

Parameters:
  • ra – decimal degrees, R.A. of the center of the cone

  • dec – decimal degrees, Dec. of the center of the cone

  • radius – radius in degrees

Returns:

a table with the list of sources