gammapy.spectrum
gammapy.spectrum.powerlaw.
power_law_g_from_f
Spectral index at a given energy e for a given function f(e)