estimate_exposure_reco_energy#

gammapy.estimators.utils.estimate_exposure_reco_energy(dataset, spectral_model=None, normalize=True)[source]#

Estimate an exposure map in reconstructed energy.

Parameters
datasetMapDataset or MapDatasetOnOff

the input dataset

spectral_modelSpectralModel

assumed spectral shape. If none, a Power Law of index 2 is assumed

normalizebool

Normalize the exposure to the total integrated flux of the spectral model. When not normalized it directly gives the predicted counts from the spectral model.

Returns
exposureMap

Exposure map in reconstructed energy