Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

make_map_background_irf

gammapy.cube.make_map_background_irf(pointing, livetime, bkg, geom, n_integration_bins=1)[source]

Compute background map from background IRFs.

Parameters:

pointing : SkyCoord

Pointing direction

livetime : Quantity

Observation livetime

bkg : Background3D

Background rate model

geom : WcsGeom

Reference geometry

n_integration_bins : int

Number of bins per energy bin in integration

Returns:

background : WcsNDMap

Background predicted counts sky cube in reco energy