make_exposure_cube

gammapy.cube.make_exposure_cube(pointing, livetime, aeff, ref_cube, offset_max)[source]

Calculate exposure cube.

Parameters:

pointing : SkyCoord

Pointing direction

livetime : Quantity

Livetime

aeff : EffectiveAreaTable2D

Effective area table

ref_cube : SkyCube

Reference cube used to define geometry

offset_max : Angle

Maximum field of view offset.

Returns:

expcube : SkyCube

Exposure cube (3D)