WallGo.particle.Particle

class Particle(name, index, msqVacuum, msqDerivative, statistics, totalDOFs)[source]

Bases: object

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:

Particle

__init__(name, index, msqVacuum, msqDerivative, statistics, totalDOFs)[source]

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:

Particle

Methods

__init__(name, index, msqVacuum, ...)

Initialisation

Attributes

STATISTICS_OPTIONS