Menu

Commit [r25228]  Maximize  Restore  History

Further improved the profiling of relax curve fit.

This profiling shows, that Python code is about twice as slow as the C code implemented.

But it also shows that optimising with scipy.optimize.leastsq is 20 X faster.
It also gives reasonable error values.

Combining a function for a linear fit to guess the initial values, together
with scipy optimise, will be an extreme time win for estimating R2eff values fast.

A further test would be to use relax Monte-Carlo simulations for say 1000-2000 iterations,
and compare to the errors extracted from estimated covariance.

tlinnet 2014-08-24

changed /trunk/test_suite/shared_data/curve_fitting/profiling/profiling_relax_fit.py
added /trunk/test_suite/shared_data/curve_fitting/profiling/relax_fit.py
/trunk/test_suite/shared_data/curve_fitting/profiling/profiling_relax_fit.py Diff Switch to side-by-side view
Loading...
/trunk/test_suite/shared_data/curve_fitting/profiling/relax_fit.py Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.