astromodels.functions.dark_matter.dm_models module

class astromodels.functions.dark_matter.dm_models.DMFitFunction(**kwargs)[source]

Bases: Function1D

description :

Class that evaluates the spectrum for a DM particle of a given mass, channel, cross section, and J-factor. Based on standard Fermi Science Tools function DMFitFunction. Note input table only calculated spectra up to m_DM of 10 TeV

The parameterization is given by

F(x) = 1 / (8 * pi) * (1/mass^2) * sigmav * J * dN/dE(E,mass,i)

latex : $$

parameters :

mass :

desc : DM mass (GeV) initial value : 10 fix : yes

channel :

desc : DM annihilation channel initial value : 4 fix : yes

sigmav :

desc : DM annihilation cross section (cm^3/s) initial value : 1.e-26

J :

desc : Target total J-factor (GeV^2 cm^-5) initial value : 1.e20 fix : yes

evaluate(x, mass, channel, sigmav, J)[source]
static info()
print_channel_mapping()[source]
class astromodels.functions.dark_matter.dm_models.DMSpectra(**kwargs)[source]

Bases: Function1D

description :

Class that evaluates the spectrum for a DM particle of a given mass, channel, cross section, and J-factor. Combines Pythia-based tables from both Fermi (2 GeV < m_DM < 10 TeV) and HAWC (10 TeV < m_dm < 1 PeV)

The parameterization is given by

F(x) = 1 / (8 * pi) * (1/mass^2) * sigmav * J * dN/dE(E,mass,i)

Note that this class assumes that mass and J-factor are provided in units of GeV and GeV^2 cm^-5

latex : $$

parameters :

mass :

desc : DM mass (GeV) initial value : 10 fix : yes

channel :

desc : DM annihilation channel initial value : 4 fix : yes

sigmav :

desc : DM annihilation cross section (cm^3/s) initial value : 1.e-26

J :

desc : Target total J-factor (GeV^2 cm^-5) initial value : 1.e20 fix : yes

evaluate(x, mass, channel, sigmav, J)[source]
static info()
print_channel_mapping()[source]