read_table

gdt.missions.fermi.gbm.localization.dol.legacy_functions.read_table(path, ndet, npoints)[source]

Read database table with detector response for each point on the sky.

NOTE: This method can read from newer numpy files and older text files.

Parameters:
  • path (str) – Path to file containing the table

  • ndet (int) – Number of detectors

  • npoints (int32) – Number of points in the sky grid

Returns:

  • t (np.ndarray((ndet, npoints), int32)) – Table with detector response for each sky location.

  • idb_no (int32) – Database version number for this table