mailr4885 - /branches/N_state_model/test_suite/system_tests/scripts/5_state_xz.py


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

Header


Content

Posted by edward on January 25, 2008 - 12:26:
Author: bugman
Date: Fri Jan 25 12:26:03 2008
New Revision: 4885

URL: http://svn.gna.org/viewcvs/relax?rev=4885&view=rev
Log:
Changed the 5-state xz system test to start at the true parameter values.

This should speed things up considerably in this test.


Modified:
    branches/N_state_model/test_suite/system_tests/scripts/5_state_xz.py

Modified: branches/N_state_model/test_suite/system_tests/scripts/5_state_xz.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/N_state_model/test_suite/system_tests/scripts/5_state_xz.py?rev=4885&r1=4884&r2=4885&view=diff
==============================================================================
--- branches/N_state_model/test_suite/system_tests/scripts/5_state_xz.py 
(original)
+++ branches/N_state_model/test_suite/system_tests/scripts/5_state_xz.py Fri 
Jan 25 12:26:03 2008
@@ -78,8 +78,12 @@
 # Set up the 5-state model.
 n_state_model.model(N=5)
 
-# Set the initial parameter values to the defaults (the grid search is too 
expensive).
-#value.set()
+# Set the initial parameter values to the actual values (the grid search is 
too expensive).
+for i in xrange(5):
+    value.set(0.2, 'p'+`i`)
+    value.set(0.0, 'alpha'+`i`)
+    value.set(pi/4-pi/8*i, 'alpha'+`i`)
+    value.set(0.0, 'gamma'+`i`)
 
 # Minimise.
 minimise('simplex', constraints=False)




Related Messages


Powered by MHonArc, Updated Fri Jan 25 14:20:10 2008