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 energy

g : 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.array

Integral flux in energy_min, energy_max band