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
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.
- dataset
- Returns
- exposure
Map
Exposure map in reconstructed energy
- exposure