from_day_time

gdt.missions.cgro.time.from_day_time(yyyy_ddd, day_secs)[source]

Create from day-of-year and seconds-of-day. This is a format often used in the BATSE FITS files.

Parameters:
  • yyyy_ddd (float) – The day-of-year, where the integer part is the year, and the decimal part represents the day of year.

  • day_secs (float) – Seconds of day

Returns:

(astropy.time.Time)