Commit | Date | |
---|---|---|
[r25285]
by
tlinnet
Got the method of 'Steepest descent' to work properly, by specifying the Jacobian correctly. The Jacobian was derived according to the chi2 function. The key point was to evaluate the two derivative arrays for all times points, and This clearly shows the difference between minfx and scipy.optimize.leastsq. scipy.optimize.leastsq takes as input a function F(x0), which should return the array This will be an array with number of elements 'i' corresponding to number of elements. Minfx requires the function to minimise before hand. Then the dfunc, and d2func, should be derivative of chi2, bum all elements in the array should task #7822(https://gna.org/task/index.php?7822): Implement user function to estimate R2eff and associated errors for exponential curve fitting. |
2014-08-26 11:12:14 | Tree |
[r25284]
by
bugman
Switched the optimisation algorithm in test_suite/system_tests/scripts/relax_fit.py. This script, used by the Relax_fit.test_curve_fitting_height and Relax_fit.test_curve_fitting_volume |
2014-08-26 10:51:21 | Tree |
[r25283]
by
bugman
Fix for the test_dfunc_off_minimum() unit test. This is the test class test_suite.unit_tests._target_functions.test_relax_fit.Test_relax_fit. The |
2014-08-26 10:47:28 | Tree |
[r25282]
by
bugman
Bug fix for the chi-squared gradient calculation in the C module. The definition of the square() function needed extra brackets so that the 1/error**2 calculation |
2014-08-26 10:44:12 | Tree |
[r25281]
by
bugman
Increased the printouts for the script for calculating the numerical gradient for an exponential curve. |
2014-08-26 10:29:49 | Tree |
[r25280]
by
bugman
Fix for the script for calculating the numerical gradient for an exponential curve. The off-minimum derivative was not correctly calculated. |
2014-08-26 10:24:57 | Tree |
[r25279]
by
bugman
The exponential curve numeric gradient script now uses only floating point numbers. This is to avoid integer truncation problems. |
2014-08-26 10:20:49 | Tree |
[r25278]
by
bugman
Activated parameter scaling of the gradient in the test_dfunc_off_minimum() unit test. This is the test class test_suite.unit_tests._target_functions.test_relax_fit.Test_relax_fit. |
2014-08-26 10:17:23 | Tree |
[r25277]
by
bugman
Fixes for the target_functions.relax_fit C module unit tests. All values are now set to floats to avoid integer division issues. |
2014-08-26 10:14:28 | Tree |
[r25276]
by
bugman
Created a unit test to check the dfunc() function of the relax_fit C module off the minimum. |
2014-08-26 10:10:46 | Tree |