Follow-up Comment #6, task #7415 (project relax):
Note that for development in the inversion-recovery branch, that there should
be a slightly different design of the target function for simplifying this.
There should be one target function in target_functions/relax_fit.c per
function type, and that the correct one is selected by the wrapper code in
specific_analyses/relax_fit/optimisation.py. This could be simplified by
shifting all the *func_wrapper() functions into a new target function class in
say target_functions/relax_fit_wrapper.py and having the target function
selection performed there just like in the other analysis types.
This would avoid requiring any switching in the C code during optimisation,
hence it would be much faster. And the problem which killed the original
branch would then not be an issue. The new code could then just mimic the
current code, as a duplication and modification, as the functions are very
simple but could not use shared functions. Then no new C concepts would be
needed.
_______________________________________________________
Reply to this item at:
<http://gna.org/task/?7415>
_______________________________________________
Message sent via/by Gna!
http://gna.org/