mailr24023 - /branches/disp_spin_speed/test_suite/system_tests/relax_disp.py


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

Header


Content

Posted by tlinnet on June 17, 2014 - 12:20:
Author: tlinnet
Date: Tue Jun 17 12:20:15 2014
New Revision: 24023

URL: http://svn.gna.org/viewcvs/relax?rev=24023&view=rev
Log:
Fix for systemtest test_korzhnev_2005_all_data_disp_speed_bug.

The precision is lowered, and now matches the original systemtest.

Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion 
models for Clustered analysis.

Modified:
    branches/disp_spin_speed/test_suite/system_tests/relax_disp.py

Modified: branches/disp_spin_speed/test_suite/system_tests/relax_disp.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/disp_spin_speed/test_suite/system_tests/relax_disp.py?rev=24023&r1=24022&r2=24023&view=diff
==============================================================================
--- branches/disp_spin_speed/test_suite/system_tests/relax_disp.py      
(original)
+++ branches/disp_spin_speed/test_suite/system_tests/relax_disp.py      Tue 
Jun 17 12:20:15 2014
@@ -3618,9 +3618,8 @@
         spin.dwH = -0.27258970590969
         spin.kex = 360.516132791038
 
-        # Low precision optimisation.
-        #self.interpreter.grid_search(lower=None, upper=None, inc=10, 
constraints=True, verbosity=1)
-        self.interpreter.minimise(min_algor='simplex', func_tol=1e-05, 
max_iter=1)
+        # Calc the chi2 values at these parameters.
+        self.interpreter.calc(verbosity=1)
 
         # Printout.
         print("\n\nOptimised parameters:\n")
@@ -3650,7 +3649,7 @@
         print("%-20s %20.15g\n" % ("chi2", spin.chi2))
 
         # Checks for residue :9.
-        self.assertAlmostEqual(spin.chi2, 162.511988511609, 3)
+        self.assertAlmostEqual(spin.chi2/1000, 162.511988511609/1000, 3)
 
 
     def test_kteilum_fmpoulsen_makke_cpmg_data_048m_guhcl_to_cr72(self):




Related Messages


Powered by MHonArc, Updated Tue Jun 17 12:40:03 2014