.. _cgro-time: .. |from_day_time()| replace:: :class:`~gdt.missions.cgro.time.from_day_time` .. |to_day_time()| replace:: :class:`~gdt.missions.cgro.time.to_day_time` ***************************************************** CGRO Mission Epoch (:mod:`gdt.missions.cgro.time`) ***************************************************** The CGRO Mission time is typically expressed as the Truncated Julian Date (TJD), which has an epoch of May 24, 1968 00:00:00 UTC. We have defined a specialized epoch to work with Astropy ``Time`` objects so that the CGRO mission time can be easily converted to/from other formats and time scales. To use this, we simply import and create an astropy Time object with a `'cgro'` format: >>> from gdt.missions.cgro.time import Time >>> cgro_met = Time(9983.5, format='cgro') >>> cgro_met