Code Documentation¶
Example
File¶
-
Example.
main
(parameterFile, outputFile, showPlot=True)[source] Main code to define the BSM contents and properties and solve the Boltzmann equations
Parameters: - parameterFile – Path to the file defining the main model parameters
- outputFile – Path to the output file. If None, no results will be written.
- showPlot – If True, will show a simple plot for the evolution of the energy densities
modelDefinitions
File¶
synopsis: | This module defines all relevant input parameters for the model and some methods to obtain other relevant information (spectrum, decays, sigma.v, etc) |
---|---|
author: | Andre Lessa <lessa.a.p@gmail.com> |
-
modelDefinitions.
DMSigmaV
(T)[source] Defines the dark matter annihilation cross-section as a function of temperature.
Parameters: T – temperature Returns: thermally averaged cross-section
-
modelDefinitions.
MediatorDecays
(T)[source] Defines the mediator decays.
Parameters: T – temperature Returns: DecayList object with the mediator decays and width
-
modelDefinitions.
MediatorSigmaV
(T)[source] Defines the mediator annihilation cross-section as a function of temperature.
Parameters: T – temperature Returns: thermally averaged cross-section
component
File¶
boltzSolver
File¶
boltzEqs
File¶
AuxFuncs
File¶
AuxDecays
File¶
synopsis: | This module provides decay classes and methods |
---|---|
author: | Andre Lessa <lessa.a.p@gmail.com> |
-
class
AuxDecays.
Decay
(instate=None, fstates=None, br=0.0)[source] Bases:
object
Main class to store information about a specific decay.
Parameters: - motherID – ID for the decaying mother
- fstateIDs – list of IDs for the daughters
- br – branching ratio value
-
compress
(ID, IDecays)[source] Generates a new DecayList() from compressing the ID decays