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

format: str

Format of the Time information

scale: str

Scale of the Time information

Returns
timeTime

Time object with format='MJD'