get_detector_sun_angles_for_time#
- sunkit_instruments.fermi.get_detector_sun_angles_for_time(time, file)[source]#
Get the GBM detector angles vs the Sun for a single time.
- Parameters:
time (
tuple
,list
,str
,pandas.Timestamp
,pandas.Series
,pandas.DatetimeIndex
,datetime.datetime
,datetime.date
,numpy.datetime64
,numpy.ndarray
,astropy.time.Time
) – A time 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: