mailr26834 - in /trunk/target_functions: exponential.c exponential.h relax_fit.c relax_fit.h relax_fit_wrapper.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on November 29, 2014 - 11:24:
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




Related Messages


Powered by MHonArc, Updated Sat Nov 29 13:40:02 2014