diffuse_gamma_ray_flux

gammapy.spectrum.diffuse_gamma_ray_flux(energy, component='isotropic')[source]

Diffuse gamma ray flux.

TODO: describe available spectra.

References: * ‘isotropic’: http://adsabs.harvard.edu/abs/2010PhRvL.104j1101A

Parameters:

energy : Quantity

Gamma-ray energy

component : {‘isotropic’, ‘bubble’, ‘galactic_fermi2’, ‘galactic_fermi4’}

Diffuse model component

Returns:

flux : Quantity

Gamma-ray flux in unit m^-2 s^-1 TeV^-1 sr^-1