make_map_background_irf¶
-
gammapy.cube.make_map_background_irf(pointing, ontime, bkg, geom)[source]¶ Compute background map from background IRFs.
Parameters: pointing :
SkyCoordPointing direction
ontime :
QuantityObservation ontime. i.e. not corrected for deadtime see https://gamma-astro-data-formats.readthedocs.io/en/stable/irfs/full_enclosure/bkg/index.html#notes)
bkg :
Background3DBackground rate model
geom :
WcsGeomReference geometry
Returns: background :
WcsNDMapBackground predicted counts sky cube in reco energy