mailr11049 - in /1.3/test_suite/system_tests/scripts/diff_tensor: ri_back_calc.py tensor_opt.py


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

Header


Content

Posted by edward on March 19, 2010 - 18:41:
Author: bugman
Date: Fri Mar 19 18:41:54 2010
New Revision: 11049

URL: http://svn.gna.org/viewcvs/relax?rev=11049&view=rev
Log:
Bug fixes for the ri back-calculation and diff tensor optimisation system 
test scripts.

The angles units of radians needs to be specified!


Modified:
    1.3/test_suite/system_tests/scripts/diff_tensor/ri_back_calc.py
    1.3/test_suite/system_tests/scripts/diff_tensor/tensor_opt.py

Modified: 1.3/test_suite/system_tests/scripts/diff_tensor/ri_back_calc.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/scripts/diff_tensor/ri_back_calc.py?rev=11049&r1=11048&r2=11049&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/scripts/diff_tensor/ri_back_calc.py (original)
+++ 1.3/test_suite/system_tests/scripts/diff_tensor/ri_back_calc.py Fri Mar 
19 18:41:54 2010
@@ -34,9 +34,9 @@
 if ds.diff_type == 'sphere':
     diffusion_tensor.init(1.0/(6.0*2e7), fixed=False)
 elif ds.diff_type == 'spheroid':
-    diffusion_tensor.init((1.0/(6.0*5e7/3.0), -1e7, 2.0, 0.5), fixed=False)
+    diffusion_tensor.init((1.0/(6.0*5e7/3.0), -1e7, 2.0, 0.5), 
angle_units='rad', fixed=False)
 elif ds.diff_type == 'ellipsoid':
-    diffusion_tensor.init((8.3333333333333335e-09, 15000000.0, 
0.33333333333333331, 1.0, 2.0, 0.5), fixed=False)
+    diffusion_tensor.init((8.3333333333333335e-09, 15000000.0, 
0.33333333333333331, 1.0, 2.0, 0.5), angle_units='rad', fixed=False)
 else:
     raise RelaxError, "The diffusion type '%s' is unknown." % ds.diff_type
 

Modified: 1.3/test_suite/system_tests/scripts/diff_tensor/tensor_opt.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/scripts/diff_tensor/tensor_opt.py?rev=11049&r1=11048&r2=11049&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/scripts/diff_tensor/tensor_opt.py (original)
+++ 1.3/test_suite/system_tests/scripts/diff_tensor/tensor_opt.py Fri Mar 19 
18:41:54 2010
@@ -41,9 +41,9 @@
 if ds.diff_type == 'sphere':
     diffusion_tensor.init(1.0/(6.0*2e7), fixed=False)
 elif ds.diff_type == 'spheroid':
-    diffusion_tensor.init((1.0/(6.0*5e7/3.0), -1e7, 2.0, 0.5), fixed=False)
+    diffusion_tensor.init((1.0/(6.0*5e7/3.0), -1e7, 2.0, 0.5), 
angle_units='rad', fixed=False)
 elif ds.diff_type == 'ellipsoid':
-    diffusion_tensor.init((8.3333333333333335e-09, 15000000.0, 
0.33333333333333331, 1.0, 2.0, 0.5), fixed=False)
+    diffusion_tensor.init((8.3333333333333335e-09, 15000000.0, 
0.33333333333333331, 1.0, 2.0, 0.5), angle_units='rad', fixed=False)
 else:
     raise RelaxError, "The diffusion type '%s' is unknown." % ds.diff_type
 




Related Messages


Powered by MHonArc, Updated Sun Mar 21 23:00:02 2010