make_mean_edisp

gammapy.irf.make_mean_edisp(observations, position, e_true, e_reco, low_reco_threshold='0.002 TeV', high_reco_threshold='150 TeV')[source]

Compute mean energy dispersion.

Compute the mean edisp of a set of observations j at a given position

The stacking is implemented in stack_edisp()

Parameters:
observations : Observations

Observations for which to compute the EDISP

position : SkyCoord

Position at which to compute the EDISP

e_true : Quantity

True energy axis

e_reco : Quantity

Reconstructed energy axis

low_reco_threshold : Quantity

low energy threshold in reco energy

high_reco_threshold : Quantity

high energy threshold in reco energy

Returns:
stacked_edisp : EnergyDispersion

Stacked EDISP for a set of observation