compute_dm_flux

gammapy.astro.darkmatter.compute_dm_flux(jfact, prim_flux, x_section, energy_range)[source]

Create dark matter flux maps.

The gamma-ray flux is computed as follows:

\[\frac{\mathrm d \phi}{\mathrm d E \mathrm d\Omega} = \frac{\langle \sigma\nu \rangle}{8\pi m^2_{\mathrm{DM}}} \frac{\mathrm d N}{\mathrm dE} \times J(\Delta\Omega)\]
Parameters:

jfact : Quantity

J-Factor as computed by JFactory

prim_flux : PrimaryFlux

Primary gamma-ray flux

x_section : Quantity

Velocity averaged annihilation cross section, \(\langle \sigma\nu\rangle\)

energy_range : tuple of Quantity

Energy range for the map

Returns:

flux : Quantity

DM Flux

References