make_observation_time_map#

gammapy.makers.utils.make_observation_time_map(observations, geom, offset_max=None)[source]#

Compute the total observation time on the target geometry for a list of observations.

Parameters
observationsObservations

Observations container containing list of observations.

geomGeom

Reference geometry.

offset_maxQuantity, optional

The maximum offset FoV. Default is None. If None, it will be taken from the IRFs.

Returns
exposureMap

Effective livetime.