time_ref_from_dict

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

Calculate the time reference from metadata.

Parameters:

meta : dict

FITS time standard header info

Returns:

time : Time

Time object with format='MJD'