boltz#
- autoplex.data.common.utils.boltz(e, emin, kT)[source]#
Calculate the Boltzmann factor for a given energy.
- Parameters:
e (float) – The energy for which to calculate the Boltzmann factor.
emin (float) – The minimum energy to consider in the calculation.
kT (float) – The product of the Boltzmann constant and the temperature.
- Returns:
The calculated Boltzmann factor.
- Return type:
float
Notes
The Boltzmann factor is calculated as exp(-(e - emin) / kT).