power_law_evaluate¶
-
gammapy.spectrum.powerlaw.
power_law_evaluate
(energy, norm, gamma, energy_ref)[source]¶ Differential flux at a given energy.
f(energy)=N(E/E0)−Γwith norm
N
, energyE
, reference energyE0
and spectral index Γ.Parameters: energy : array_like
Energy at which to compute the differential flux
gamma : array_like
Power law spectral index