Author: bugman Date: Mon Aug 11 15:41:13 2008 New Revision: 7149 URL: http://svn.gna.org/viewcvs/relax?rev=7149&view=rev Log: Added Boltzmann's constant to the physical_constants module. Modified: branches/rdc_analysis/physical_constants.py Modified: branches/rdc_analysis/physical_constants.py URL: http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/physical_constants.py?rev=7149&r1=7148&r2=7149&view=diff ============================================================================== --- branches/rdc_analysis/physical_constants.py (original) +++ branches/rdc_analysis/physical_constants.py Mon Aug 11 15:41:13 2008 @@ -42,6 +42,9 @@ mu0 = 4.0 * pi * 1e-7 """The magnetic constant or the permeability of vacuum.""" + +kB = 1.380650424 * 1e-23 +"""Boltzmann's constant in SI units of J.K^-1 (the last 2 digits of '24' are within the measured error limits).""" # CSA and bond lengths. @@ -114,7 +117,7 @@ """ # Calculate and return the value. - return mu0 / (4.0*pi) * 15.0 * k * T / Bo**2 / r**3 + return mu0 / (4.0*pi) * 15.0 * kB * T / Bo**2 / r**3