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
- dataset
MapDataset
orMapDatasetOnOff
The input dataset.
- spectral_model
SpectralModel
, 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.
- dataset
- Returns
- exposure
Map
Exposure map in reconstructed energy.
- exposure