JFactory

class gammapy.astro.darkmatter.JFactory(geom, profile, distance)[source]

Bases: object

Compute J-Factor maps.

All J-Factors are computed for annihilation. The assumed dark matter profiles will be centered on the center of the map.

Parameters:

geom : WcsGeom

Reference geometry

profile : DMProfile

Dark matter profile

distance : Quantity

Distance to convert angular scale of the map

Methods Summary

compute_differential_jfactor() Compute differential J-Factor.
compute_jfactor() Compute astrophysical J-Factor.

Methods Documentation

compute_differential_jfactor()[source]

Compute differential J-Factor.

dJdΩ=LoSdrρ(r)
compute_jfactor()[source]

Compute astrophysical J-Factor.

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