Author: bugman Date: Wed Nov 26 19:29:54 2014 New Revision: 26769 URL: http://svn.gna.org/viewcvs/relax?rev=26769&view=rev Log: A small code rearrangement to create the new target_functions.relax_fit_wrapper module. This follows from the idea at https://gna.org/task/?7415#comment6. The *func_wrapper() functions of the specific_analyses.relax_fit.optimisation module have been shifted out and converted to class methods to create the target_functions.relax_fit_wrapper module. This will be used to abstract away all of the C code, and will form the infrastructure to allow new exponential curves to be quickly supported. The modules of the specific_analyses.relax_fit and specific_analyses.relax_disp packages now import the target_functions.relax_fit_wrapper.Relax_fit_opt target function class and use that instead. Added: trunk/target_functions/relax_fit_wrapper.py - copied, changed from r26748, trunk/specific_analyses/relax_fit/optimisation.py Modified: trunk/specific_analyses/relax_disp/estimate_r2eff.py trunk/specific_analyses/relax_disp/optimisation.py trunk/specific_analyses/relax_fit/api.py trunk/specific_analyses/relax_fit/optimisation.py trunk/test_suite/system_tests/relax_disp.py [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/specific_analyses/relax_disp/estimate_r2eff.py URL: http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_disp/estimate_r2eff.py?rev=26769&r1=26768&r2=26769&view=diff Modified: trunk/specific_analyses/relax_disp/optimisation.py URL: http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_disp/optimisation.py?rev=26769&r1=26768&r2=26769&view=diff Modified: trunk/specific_analyses/relax_fit/api.py URL: http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_fit/api.py?rev=26769&r1=26768&r2=26769&view=diff Modified: trunk/specific_analyses/relax_fit/optimisation.py URL: http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_fit/optimisation.py?rev=26769&r1=26768&r2=26769&view=diff Copied: trunk/target_functions/relax_fit_wrapper.py (from r26748, trunk/specific_analyses/relax_fit/optimisation.py) URL: http://svn.gna.org/viewcvs/relax/trunk/target_functions/relax_fit_wrapper.py?p2=trunk/target_functions/relax_fit_wrapper.py&p1=trunk/specific_analyses/relax_fit/optimisation.py&r1=26748&r2=26769&rev=26769&view=diff Modified: trunk/test_suite/system_tests/relax_disp.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/relax_disp.py?rev=26769&r1=26768&r2=26769&view=diff