Author: bugman Date: Wed Jun 5 22:42:14 2013 New Revision: 19878 URL: http://svn.gna.org/viewcvs/relax?rev=19878&view=rev Log: The initial parameters are now the real parameter rather than the optimised ones. This is for the script for testing white noise in relaxation data. Modified: trunk/test_suite/shared_data/relaxation_data/white_noise/simulation.py Modified: trunk/test_suite/shared_data/relaxation_data/white_noise/simulation.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/shared_data/relaxation_data/white_noise/simulation.py?rev=19878&r1=19877&r2=19878&view=diff ============================================================================== --- trunk/test_suite/shared_data/relaxation_data/white_noise/simulation.py (original) +++ trunk/test_suite/shared_data/relaxation_data/white_noise/simulation.py Wed Jun 5 22:42:14 2013 @@ -34,11 +34,17 @@ # Set the relaxation curve type. relax_fit.select_model('exp') -# Grid search. -grid_search(inc=11) +# Set the parameter values (instead of optimising). +spin_cont.rx = 2.25 +spin_cont.i0 = 10000.0 -# Minimise. -minimise('simplex', constraints=False) +# Set up some fake stats (to allow the MC sims to be initialised). +spin_cont.iter = 0 +spin_cont.f_count = 0 +spin_cont.g_count = 0 +spin_cont.h_count = 0 +spin_cont.chi2 = 0.0 +spin_cont.warning = None # Monte Carlo simulations. monte_carlo.setup(number=100000)