time_ref_from_dict¶
-
gammapy.utils.time.time_ref_from_dict(meta)[source]¶ Calculate the time reference from metadata.
The time reference is built as MJDREFI + MJDREFF in units of MJD. All other times should be interpreted as seconds after the reference.
Parameters: meta :
dictdictionary with the keywords
MJDREFIandMJDREFFReturns: time :
Timereference time with
format='MJD'