get_detector_sun_angles_for_date#
- sunkit_instruments.fermi.get_detector_sun_angles_for_date(date, file)[source]#
Get the GBM detector angles vs the Sun as a function of time for a given date.
- Parameters:
date (
tuple
,list
,str
,pandas.Timestamp
,pandas.Series
,pandas.DatetimeIndex
,datetime.datetime
,datetime.date
,numpy.datetime64
,numpy.ndarray
,astropy.time.Time
) – A date specified as a parse_time-compatible time string, number, or a datetime object.file (
str
) – A filepath to a Fermi/LAT weekly pointing file (e.g. as obtained by the download_weekly_pointing_file function).
- Returns:
A tuple of all the detector angles.
- Return type: