power_law_g_from_points

gammapy.spectrum.powerlaw.power_law_g_from_points(e1, e2, f1, f2)[source]

Spectral index for two given differential flux points