Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

load_electron_spectrum

gammapy.datasets.load_electron_spectrum(reference)[source]

Load published electron spectrum.

TODO: give references to publications and describe the returned table.

Parameters:

reference : {‘HESS’, ‘HESS low energy’, ‘Fermi’}

Which publication.

Returns:

spectrum : Table

Energy spectrum as a table (one flux point per row).