gammapy.spectrum
gammapy.spectrum.powerlaw.
power_law_g_from_points
Spectral index for two given differential flux points