WallGo.particle
Module with Particle class to hold particle information
Classes
|
Particle configuration |
- class Particle(name, index, msqVacuum, msqDerivative, statistics, totalDOFs)[source]
Particle configuration
A simple class holding attributes of an out-of-equilibrium particle as relevant for calculations of Boltzmann equations.
Initialisation
- Parameters:
name (string) – A string naming the particle species.
index (int) – Integer identifier for the particle species. Must be unique and match the intended particle index in matrix elements.
msqVacuum (function) – Function \(m^2_0(\phi)\), should take a Fields or FieldPoint object and return an array of length Fields.NumPoints(). The background field dependent but temperature independent part of the effective mass squared.
msqDerivative (function) – Function \(d(m_0^2)/d(\phi)\), should take a Fields or FieldPoints object and return an array of shape Fields.shape.
statistics ({"Fermion", "Boson"}) – Particle statistics.
totalDOFs (int) – Total number of degrees of freedom (should include the multiplicity factor).
- Returns:
cls – An object of the Particle class.
- Return type: