mailr4858 - /1.3/physical_constants.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by sebastien . morin . 1 on January 18, 2008 - 22:42:
Author: semor
Date: Fri Jan 18 22:41:55 2008
New Revision: 4858

URL: http://svn.gna.org/viewcvs/relax?rev=4858&view=rev
Log:
Uniformized the format of constants.


Modified:
    1.3/physical_constants.py

Modified: 1.3/physical_constants.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/physical_constants.py?rev=4858&r1=4857&r2=4858&view=diff
==============================================================================
--- 1.3/physical_constants.py (original)
+++ 1.3/physical_constants.py Fri Jan 18 22:41:55 2008
@@ -25,10 +25,10 @@
 
 
 # Planck's constant.
-h = 6.62606876e-34
+h = 6.62606876 * 1e-34
 
 # Dirac's constant.
-h_bar = h / (2.0*pi)
+h_bar = h / (2.0 * pi)
 
 # The magnetic constant or the permeability of vacuum.
 mu0 = 4.0 * pi * 1e-7
@@ -41,16 +41,16 @@
 
 
 # The 13C gyromagnetic ratio.
-g13C = 6.728e7
+g13C = 6.728 * 1e7
 
 # The 1H gyromagnetic ratio.
-g1H = 26.7522212e7
+g1H = 26.7522212 * 1e7
 
 # The 15N gyromagnetic ratio.
-g15N = -2.7126e7
+g15N = -2.7126 * 1e7
 
 # The 17O gyromagnetic ratio.
-g17O = -3.628e7
+g17O = -3.628 * 1e7
 
 # The 31P gyromagnetic ratio.
-g31P = 1.0841e8
+g31P = 10.841 * 1e7




Related Messages


Powered by MHonArc, Updated Mon Jan 21 11:20:09 2008