get_detector_sun_angles_for_time

sunpy.instr.fermi.get_detector_sun_angles_for_time(time, file)[source] [edit on github]

get the GBM detector angles vs the sun for a single time.

Parameters:
  • time (datetime.datetime) – A datetime object or other time format understood by the parse_time function.
  • file (str) – A filepath to a Fermi/LAT weekly pointing file (e.g. as obtained by the download_weekly_pointing_file function).