power_law_g_from_f

gammapy.spectrum.powerlaw.power_law_g_from_f(e, f, de=1)[source]

Spectral index at a given energy e for a given function f(e)