power_law_integral_flux¶
-
gammapy.spectrum.powerlaw.power_law_integral_flux(f=1, g=2, e=1, e1=1, e2=10000000000.0)[source]¶ Compute integral flux for a given differential flux.
Parameters: f : array_like
Differential flux at
energyg : array_like
Power law spectral index
e : array_like
Energy at which the differential flux is given
e1 : array_like
Energy band minimum
e2 : array_like
Energy band maximum
Returns: flux :
numpy.arrayIntegral flux in
energy_min,energy_maxband