make_map_background_irf¶
-
gammapy.cube.make_map_background_irf(pointing, ontime, bkg, geom, oversampling=None)[source]¶ Compute background map from background IRFs.
Parameters: - pointing :
FixedPointingInfoorSkyCoord Observation pointing
- If a
FixedPointingInfois passed, FOV coordinates are properly computed. - If a
SkyCoordis passed, FOV frame rotation is not taken into account.
- If a
- ontime :
Quantity Observation 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 :
Background3D Background rate model
- geom :
WcsGeom Reference geometry
- oversampling: int
Oversampling factor in energy, used for the background model evaluation.
Returns: - background :
WcsNDMap Background predicted counts sky cube in reco energy
- pointing :