mailr9474 - /1.3/test_suite/unit_tests/_maths_fns/test_n_state_model.py


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

Header


Content

Posted by edward on September 08, 2009 - 14:43:
Author: bugman
Date: Tue Sep  8 14:43:47 2009
New Revision: 9474

URL: http://svn.gna.org/viewcvs/relax?rev=9474&view=rev
Log:
Fixes for the test_func3() and test_func4() unit tests.

The rotations were backwards because of the R_euler_zyz() fix!


Modified:
    1.3/test_suite/unit_tests/_maths_fns/test_n_state_model.py

Modified: 1.3/test_suite/unit_tests/_maths_fns/test_n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_maths_fns/test_n_state_model.py?rev=9474&r1=9473&r2=9474&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_maths_fns/test_n_state_model.py (original)
+++ 1.3/test_suite/unit_tests/_maths_fns/test_n_state_model.py Tue Sep  8 
14:43:47 2009
@@ -98,7 +98,7 @@
 
         # Init vals.
         N = 2
-        init_params = array([1.0, pi/2.0, 0.0, 0.0, 0.0, 0.0, 0.0], float64)
+        init_params = array([1.0, -pi/2.0, 0.0, 0.0, 0.0, 0.0, 0.0], float64)
         full_tensors = array([1.0, 0.5, 0.0, 0.0, 0.0, 1.0, 0.5, 1.0, 0.0, 
0.0, 1.0, 0.5, 0.0, 1.0, 0.0], float64)
         red_data     = array([0.5, 1.0, 0.0, 0.0, 0.0, 0.5, 1.0, -1.0, 0.0, 
0.0, 0.5, 1.0, 0.0, 0.0, 1.0], float64)
         err = ones(3*5, float64)
@@ -126,7 +126,7 @@
 
         # Init vals.
         N = 2
-        init_params = array([0.5, pi/2.0, 0.0, 0.0, 0.0, 0.0, 0.0], float64)
+        init_params = array([0.5, -pi/2.0, 0.0, 0.0, 0.0, 0.0, 0.0], float64)
         full_tensors = array([1.0, 0.5, 0.0, 0.0, 0.0, 1.0, 0.5, 1.0, 0.0, 
0.0, 1.0, 0.5, 0.0, 1.0, 0.0], float64)
         red_data     = array([0.75, 0.75, 0.0, 0.0, 0.0, 0.75, 0.75, 0.0, 
0.0, 0.0, 0.75, 0.75, 0.0, 0.5, 0.5], float64)
         err = ones(3*5, float64)




Related Messages


Powered by MHonArc, Updated Tue Sep 08 15:20:07 2009