time_ref_from_dict

gammapy.utils.time.time_ref_from_dict(meta, format='mjd', scale='tt')[source]

Calculate the time reference from metadata.

Parameters
metadict

FITS time standard header info

Returns
timeTime

Time object with format='MJD'