Author: bugman Date: Sun Mar 23 16:24:16 2008 New Revision: 5198 URL: http://svn.gna.org/viewcvs/relax?rev=5198&view=rev Log: Shifted the variable docstrings to the correct position below the variable. 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=5198&r1=5197&r2=5198&view=diff ============================================================================== --- 1.3/physical_constants.py (original) +++ 1.3/physical_constants.py Sun Mar 23 16:24:16 2008 @@ -27,59 +27,59 @@ # Misc. constants. ################## +h = 6.62606876 * 1e-34 """Planck's constant.""" -h = 6.62606876 * 1e-34 +h_bar = h / (2.0 * pi) """Dirac's constant.""" -h_bar = h / (2.0 * pi) +mu0 = 4.0 * pi * 1e-7 """The magnetic constant or the permeability of vacuum.""" -mu0 = 4.0 * pi * 1e-7 # CSA and bond lengths. ####################### +N15_CSA = -172 * 1e-6 """The 15N CSA in the NH bond (default value).""" -N15_CSA = -172 * 1e-6 +NH_BOND_LENGTH = 1.02 * 1e-10 """The length of the NH bond (default value).""" -NH_BOND_LENGTH = 1.02 * 1e-10 # Gyromagnetic ratios. ###################### +g13C = 6.728 * 1e7 """The 13C gyromagnetic ratio.""" -g13C = 6.728 * 1e7 +g1H = 26.7522212 * 1e7 """The 1H gyromagnetic ratio.""" -g1H = 26.7522212 * 1e7 +g15N = -2.7126 * 1e7 """The 15N gyromagnetic ratio.""" -g15N = -2.7126 * 1e7 +g17O = -3.628 * 1e7 """The 17O gyromagnetic ratio.""" -g17O = -3.628 * 1e7 +g31P = 10.841 * 1e7 """The 31P gyromagnetic ratio.""" -g31P = 10.841 * 1e7 # Relative atomic masses. ######################### +ArH = 1.00794 """Proton atomic mass.""" -ArH = 1.00794 +ArC = 12.0107 """Carbon atomic mass.""" -ArC = 12.0107 +ArN = 14.0067 """Nitrogen atomic mass.""" -ArN = 14.0067 +ArO = 15.9994 """Oxygen atomic mass.""" -ArO = 15.9994 +ArS = 32.065 """Sulphur atomic mass.""" -ArS = 32.065