mailr25474 - /trunk/test_suite/shared_data/curve_fitting/numeric_topology/estimate_errors.py


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

Header


Content

Posted by tlinnet on August 31, 2014 - 08:49:
Author: tlinnet
Date: Sun Aug 31 08:49:53 2014
New Revision: 25474

URL: http://svn.gna.org/viewcvs/relax?rev=25474&view=rev
Log:
Added number of simulations to 10.000 in test script, and varied the random 
number of time point per simulation between 3 and 10.

task #7822(https://gna.org/task/index.php?7822): Implement user function to 
estimate R2eff and associated errors for exponential curve fitting.

Modified:
    
trunk/test_suite/shared_data/curve_fitting/numeric_topology/estimate_errors.py

Modified: 
trunk/test_suite/shared_data/curve_fitting/numeric_topology/estimate_errors.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/shared_data/curve_fitting/numeric_topology/estimate_errors.py?rev=25474&r1=25473&r2=25474&view=diff
==============================================================================
--- 
trunk/test_suite/shared_data/curve_fitting/numeric_topology/estimate_errors.py
      (original)
+++ 
trunk/test_suite/shared_data/curve_fitting/numeric_topology/estimate_errors.py
      Sun Aug 31 08:49:53 2014
@@ -19,11 +19,12 @@
 params = array([R, I0], float64)
 
 # Number of simulations.
-sim = 2
+sim = 10000
 
 # Create number of timepoints. Between 3 and 10 for exponential curve 
fitting.
+# Used in random.randint, and includes both end points.
 nt_min = 3
-nt_max = 4
+nt_max = 10
 
 # Produce range with all possible time points.
 # Draw from this.
@@ -171,6 +172,7 @@
 for i in range(sim):
     # Create index in dic.
     dic[i] = OrderedDict()
+    print("Simulation number %s"%i)
 
     # Create random number of timepoints. Between 3 and 10 for exponential 
curve fitting.
     nt = randint(nt_min, nt_max)




Related Messages


Powered by MHonArc, Updated Sun Aug 31 09:00:06 2014