threeML.catalogs.Fermi module

class threeML.catalogs.Fermi.FermiGBMBurstCatalog(update=False)[source]

Bases: VirtualObservatoryCatalog

apply_format(table)[source]
get_detector_information()[source]

Return the detectors used for spectral analysis as well as their background intervals. Peak flux and fluence intervals are also returned as well as best fit models

Returns:

detector information dictionary

get_model(model='band', interval='fluence')[source]

Return the fitted model from the Fermi-LAT GBM catalog in 3ML Model form. You can choose band, comp, plaw, or sbpl models corresponding to the models fitted in the GBM catalog. The interval for the fit can be the ‘fluence’ or ‘peak’ interval

Parameters:
  • model – one of ‘band’ (default), ‘comp’, ‘plaw’, ‘sbpl’

  • interval – ‘peak’ or ‘fluence’ (default)

Returns:

a dictionary of 3ML likelihood models that can be fitted

class threeML.catalogs.Fermi.FermiGBMTriggerCatalog(update=False)[source]

Bases: VirtualObservatoryCatalog

apply_format(table)[source]
class threeML.catalogs.Fermi.FermiLATSourceCatalog(update=False)[source]

Bases: VirtualObservatoryCatalog

apply_format(table)[source]
get_model(use_association_name=True)[source]
class threeML.catalogs.Fermi.FermiLLEBurstCatalog(update=False)[source]

Bases: VirtualObservatoryCatalog

apply_format(table)[source]
class threeML.catalogs.Fermi.ModelFrom3FGL(ra_center, dec_center, *sources)[source]

Bases: Model

fix_point_sources_within_radius(radius, normalization_only=True)[source]

Fixes the parameters for the point sources within the given radius of the center of the search cone

Parameters:
  • radius – radius in degree

  • normalization_only – if True, fixes only the normalization of the source (default: True)

Returns:

none

free_point_sources_within_radius(radius, normalization_only=True)[source]

Free the parameters for the point sources within the given radius of the center of the search cone

Parameters:
  • radius – radius in degree

  • normalization_only – if True, frees only the normalization of the source (default: True)

Returns:

none