Getting Started
Gammapy Package
gammapy.data
gammapy.makers
gammapy.detect
gammapy.time
gammapy.irf
MapCoord
SkyCoord
gammapy.maps
gammapy.astro.source
gammapy.astro.population
gammapy.astro.darkmatter
gammapy.spectrum
gammapy.stats
Developer Documentation
gammapy.utils.time.
time_relative_to_ref
Convert a time using an existing reference.
The time reference is built as MJDREFI + MJDREFF in units of MJD. The time will be converted to seconds after the reference.
Time
time to be converted
dictionary with the keywords MJDREFI and MJDREFF
MJDREFI
MJDREFF
TimeDelta
time in seconds after the reference