time_ref_to_dict#

gammapy.utils.time.time_ref_to_dict(time=None, scale='tt')[source]#

Convert the epoch to the relevant FITS header keywords

Parameters
timeTime

The reference epoch for storing time in FITS.

scale: str

Scale of the Time information

Returns
metadict

FITS time standard header info