rta_selection.dl3_writer.create_event_list

rta_selection.dl3_writer.create_event_list(data, run_number, source_name)[source]

Create the event_list BinTableHDUs from the given data

Parameters:
  • Data (DL2 data file) – ‘astropy.table.QTable’

  • Run (Run number) – Int

  • Source_name (Name of the source) – Str

Returns:

  • Events HDU (astropy.io.fits.BinTableHDU)

  • GTI HDU (astropy.io.fits.BinTableHDU)

  • Pointing HDU (astropy.io.fits.BinTableHDU)