JFactory#
- class gammapy.astro.darkmatter.JFactory[source]#
Bases:
object
Compute J-Factor or D-Factor maps.
J-Factors are computed for annihilation and D-Factors for decay. Set the argument
annihilation
toFalse
to compute D-Factors. The assumed dark matter profiles will be centered on the center of the map.- Parameters:
Methods Summary
compute_differential_jfactor
([ndecade])Compute differential J-Factor.
compute_jfactor
([ndecade])Compute astrophysical J-Factor.
Methods Documentation
- compute_differential_jfactor(ndecade=10000.0)[source]#
Compute differential J-Factor.
\[\frac{\mathrm d J_\text{ann}}{\mathrm d \Omega} = \int_{\mathrm{LoS}} \mathrm d l \rho(l)^2\]\[\frac{\mathrm d J_\text{decay}}{\mathrm d \Omega} = \int_{\mathrm{LoS}} \mathrm d l \rho(l)\]
- compute_jfactor(ndecade=10000.0)[source]#
Compute astrophysical J-Factor.
\[J(\Delta\Omega) = \int_{\Delta\Omega} \mathrm d \Omega^{\prime} \frac{\mathrm d J}{\mathrm d \Omega^{\prime}}\]
- classmethod __new__(*args, **kwargs)#