JFactory#

class gammapy.astro.darkmatter.JFactory(geom, profile, distance, annihilation=True)[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 to False to compute D-Factors. The assumed dark matter profiles will be centered on the center of the map.

Parameters:
geomWcsGeom

Reference geometry.

profileDMProfile

Dark matter profile.

distanceQuantity

Distance to convert angular scale of the map.

annihilation: bool, optional

Decay or annihilation. Default is True.

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.

dJanndΩ=LoSdlρ(l)2
dJdecaydΩ=LoSdlρ(l)
compute_jfactor(ndecade=10000.0)[source]#

Compute astrophysical J-Factor.

J(ΔΩ)=ΔΩdΩdJdΩ