mailr6611 - in /1.2: maths_fns/consistency_tests.py test_suite/consistency_tests.py


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

Header


Content

Posted by sebastien . morin . 1 on July 03, 2008 - 20:37:
Author: semor
Date: Thu Jul  3 20:21:21 2008
New Revision: 6611

URL: http://svn.gna.org/viewcvs/relax?rev=6611&view=rev
Log:
Corrected an error in the definition of eta.

This difference arises from a different definition of the constant c... 
Basically, this only affects
the obtained F_eta value by dividing it by a factor of sqrt(3) independent of 
the magnetic field.
Hence, consitency evaluation was fine before this correction, except that 
values were multiplied by
sqrt(3).

Also, the test-suite values for F_eta were changed so the test still passes.

These changes follow a thread started at:
https://mail.gna.org/public/relax-devel/2008-06/msg00013.html
(message ID: 48626A6B.1010104@xxxxxxxxx)

and continued at:
https://mail.gna.org/public/relax-devel/2008-07/msg00001.html
(message ID: 486D13EB.1000100@xxxxxxxxx).


Modified:
    1.2/maths_fns/consistency_tests.py
    1.2/test_suite/consistency_tests.py

Modified: 1.2/maths_fns/consistency_tests.py
URL: 
http://svn.gna.org/viewcvs/relax/1.2/maths_fns/consistency_tests.py?rev=6611&r1=6610&r2=6611&view=diff
==============================================================================
--- 1.2/maths_fns/consistency_tests.py (original)
+++ 1.2/maths_fns/consistency_tests.py Thu Jul  3 20:21:21 2008
@@ -122,7 +122,7 @@
         # Calculate eta.
         # eta is the cross-correlation rate between 15N CSA and 15N-1H 
dipolar interaction. It is
         # expressed here as proposed in Fushman D. & Cowburn D. (1998) JACS, 
120: 7109-7110.
-        eta = ((d * c) ** 0.5) * (4.0 * j0 + 3.0 * jwx) * p_2
+        eta = ((d * c/3.0) ** 0.5) * (4.0 * j0 + 3.0 * jwx) * p_2
 
         # Calculate F_eta.
         # F_eta is independent of the magnetic field for residues with local 
mobility

Modified: 1.2/test_suite/consistency_tests.py
URL: 
http://svn.gna.org/viewcvs/relax/1.2/test_suite/consistency_tests.py?rev=6611&r1=6610&r2=6611&view=diff
==============================================================================
--- 1.2/test_suite/consistency_tests.py (original)
+++ 1.2/test_suite/consistency_tests.py Thu Jul  3 20:21:21 2008
@@ -70,7 +70,7 @@
 
         # Correct consistency functions values:
         j0 = [4.0958793960056238e-09, 3.7976266046729745e-09]
-        f_eta = [0.35164988964635652, 0.32556427866911447]
+        f_eta = [0.20302515844782615, 0.18796462392813956]
         f_r2 = [2.0611470814962761e-09, 1.9117396355237641e-09]
 
         # Loop over residues.




Related Messages


Powered by MHonArc, Updated Thu Jul 03 21:00:14 2008