threeML.utils.data_download.Fermi_GBM package

Submodules

threeML.utils.data_download.Fermi_GBM.download_GBM_data module

threeML.utils.data_download.Fermi_GBM.download_GBM_data.cleanup_downloaded_GBM_data(detector_information_dict)[source]

deletes data downloaded with download_GBM_trigger_data. :param detector_information_dict: the return dictionary from download_GBM_trigger_data

threeML.utils.data_download.Fermi_GBM.download_GBM_data.download_GBM_trigger_data(trigger_name, detectors=None, destination_directory='.', compress_tte=True)[source]

Download the latest GBM TTE and RSP files from the HEASARC server. Will get the latest file version and prefer RSP2s over RSPs. If the files already exist in your destination directory, they will be skipped in the download process. The output dictionary can be used as input to the FermiGBMTTELike class.

example usage: download_GBM_trigger_data(‘080916009’, detectors=[‘n0’,’na’,’b0’], destination_directory=’.’)

Parameters
  • trigger_name – trigger number (str) e.g. ‘080916009’ or ‘bn080916009’ or ‘GRB080916009’

  • detectors – list of detectors, default is all detectors

  • destination_directory – download directory

  • compress_tte – compress the TTE files via gzip (default True)

Returns

a dictionary with information about the download

Module contents