CHEM :: Common :: Util :: BoltzmannProbabilityWeight :: Class BoltzmannProbabilityWeight
[hide private]
[frames] | no frames]

Class BoltzmannProbabilityWeight



Functor which given an energy value, should provide a proportional probability weight based on Boltzmann probability distributions. Basically just e^(-E/NkT)

e: Base of the natural logarithm E: Input energy value, expected to be in units of kcal / mol N: Avogadro's number to translate kcal / mol to simple kcal k: Boltzmann Constant T: Absolute temperature (Kelvin)

http://en.wikipedia.org/wiki/Boltzmann_distribution.

Use to assign relative probabilities of existence of different species with relative energy values.

Instance Methods [hide private]
 
__init__(self, temperature=298)
Initialization constructor expects the temperature at which to calculate the function.
 
__call__(self, energy)
Class Variables [hide private]
  temperature = <CHEM.DB.rdb.search.NameRxnPatternMatchingModel....
  scalar = <CHEM.DB.rdb.search.NameRxnPatternMatchingModel.Searc...
Method Details [hide private]

__init__(self, temperature=298)
(Constructor)

 
Initialization constructor expects the temperature at which to calculate the function. If none specified, assume room temperature.

Class Variable Details [hide private]

temperature

Value:
None

scalar

Value:
None