Author: bugman
Date: Sat Nov 29 11:24:15 2014
New Revision: 26834
URL: http://svn.gna.org/viewcvs/relax?rev=26834&view=rev
Log:
Implemented the target functions for the saturation recovery exponential curve.
In the Python target function class Relax_fit_opt, the new func_sat(),
dfunc_sat() and d2func_sat()
methods have been created as wrappers for the new C functions. These are
aliased to func(), dfunc()
and d2func() in the __init__() method.
In the target_functions/exponential.c C file, the functions exponential_sat(),
exponential_sat_dIinf(), exponential_sat_dR(), exponential_sat_dIinf2(),
exponential_sat_dR_dIinf()
and exponential_sat_dR2() have been created to implement the function,
gradient, and Hessian for the
equation I = Iinf * (1 - exp(-R.t)).
In the target_functions/relax_fit.c file, the functions func_sat(),
dfunc_sat(), d2func_sat(),
jacobian_sat() and jacobian_chi2_sat() have been created as duplications of the
*_exp() functions,
but pointing to the exponential_sat*() functions and using Iinf instead of I0.
Modified:
trunk/target_functions/exponential.c
trunk/target_functions/exponential.h
trunk/target_functions/relax_fit.c
trunk/target_functions/relax_fit.h
trunk/target_functions/relax_fit_wrapper.py
[This mail would be too long, it was shortened to contain the URLs only.]
Modified: trunk/target_functions/exponential.c
URL:
http://svn.gna.org/viewcvs/relax/trunk/target_functions/exponential.c?rev=26834&r1=26833&r2=26834&view=diff
Modified: trunk/target_functions/exponential.h
URL:
http://svn.gna.org/viewcvs/relax/trunk/target_functions/exponential.h?rev=26834&r1=26833&r2=26834&view=diff
Modified: trunk/target_functions/relax_fit.c
URL:
http://svn.gna.org/viewcvs/relax/trunk/target_functions/relax_fit.c?rev=26834&r1=26833&r2=26834&view=diff
Modified: trunk/target_functions/relax_fit.h
URL:
http://svn.gna.org/viewcvs/relax/trunk/target_functions/relax_fit.h?rev=26834&r1=26833&r2=26834&view=diff
Modified: trunk/target_functions/relax_fit_wrapper.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/target_functions/relax_fit_wrapper.py?rev=26834&r1=26833&r2=26834&view=diff
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits