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