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, optional

Assumed spectral shape. If None, a Power Law of index 2 is assumed. Default is None.

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. Default is True.

Returns:
exposureMap

Exposure map in reconstructed energy.