Getting Started
Gammapy Package
gammapy.cube
gammapy.spectrum
gammapy.time
gammapy.detect
gammapy.data
gammapy.irf
MapCoord
SkyCoord
gammapy.maps
gammapy.astro.source
gammapy.astro.population
gammapy.astro.darkmatter
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