mailr5197 - /1.3/physical_constants.py


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

Header


Content

Posted by edward on March 23, 2008 - 15:57:
Author: bugman
Date: Sun Mar 23 15:57:11 2008
New Revision: 5197

URL: http://svn.gna.org/viewcvs/relax?rev=5197&view=rev
Log:
Converted many physical constant comments to docstrings.


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




Related Messages


Powered by MHonArc, Updated Sun Mar 23 16:40:11 2008