get_detector_sun_angles_for_date

sunpy.instr.fermi.get_detector_sun_angles_for_date(date, file)[source] [edit on github]

get the GBM detector angles vs the sun as a function of time for a given date

Parameters:
  • date (datetime.datetime) – A datetime object or other date 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).