energy_bias_resolution_from_energy_dispersion

pyirf.benchmarks.energy_bias_resolution_from_energy_dispersion(energy_dispersion, migration_bins)[source]

Calculate bias and energy resolution.

Parameters:
edisp:

Energy dispersion matrix of shape (n_energy_bins, n_migra_bins, n_source_offset_bins)

migration_bins: numpy.ndarray

Bin edges for the relative energy migration (reco_energy / true_energy)