time_ref_to_dict#

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

TODO: document and test.

Parameters
timeTime

Time object with format='MJD'

Returns
metadict

FITS time standard header info