mailr26845 - in /trunk: ./ target_functions/


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

Header


Content

Posted by edward on November 29, 2014 - 17:30:
Author: bugman
Date: Sat Nov 29 17:30:51 2014
New Revision: 26845

URL: http://svn.gna.org/viewcvs/relax?rev=26845&view=rev
Log:
Implemented the target functions for the inversion recovery exponential curve.

In the Python target function class Relax_fit_opt, the new func_inv(), 
dfunc_inv() and d2func_inv()
methods have been created as wrappers for the new C functions.  These are 
aliased to func(), dfunc()
and d2func() in the __init__() method.

The target_functions/exponential_inv.c C file has been created with the 
functions exponential_inv(),
exponential_inv_d0(), exponential_inv_dIinf(), exponential_inv_dR(), 
exponential_inv_dI02(),
exponential_inv_dIinf2(), exponential_inv_dI0_dIinf(), 
exponential_inv_dR_dI0(),
exponential_inv_dR_dIinf() and exponential_inv_dR2() have been created to 
implement the function,
gradient, and Hessian for the equation I(t) = Iinf - I0*exp(-R.t).

In the target_functions/relax_fit.c file, the functions func_inv(), 
dfunc_inv(), d2func_inv(),
jacobian_inv() and jacobian_chi2_inv() have been created as duplications of 
the *_exp() functions,
but pointing to the exponential_inv*() functions and adding the Iinf 
dimension.


Added:
    trunk/target_functions/exponential_inv.c
      - copied, changed from r26837, trunk/target_functions/exponential.c
Modified:
    trunk/sconstruct
    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/sconstruct
URL: 
http://svn.gna.org/viewcvs/relax/trunk/sconstruct?rev=26845&r1=26844&r2=26845&view=diff

Modified: trunk/target_functions/exponential.h
URL: 
http://svn.gna.org/viewcvs/relax/trunk/target_functions/exponential.h?rev=26845&r1=26844&r2=26845&view=diff

Copied: trunk/target_functions/exponential_inv.c (from r26837, 
trunk/target_functions/exponential.c)
URL: 
http://svn.gna.org/viewcvs/relax/trunk/target_functions/exponential_inv.c?p2=trunk/target_functions/exponential_inv.c&p1=trunk/target_functions/exponential.c&r1=26837&r2=26845&rev=26845&view=diff

Modified: trunk/target_functions/relax_fit.c
URL: 
http://svn.gna.org/viewcvs/relax/trunk/target_functions/relax_fit.c?rev=26845&r1=26844&r2=26845&view=diff

Modified: trunk/target_functions/relax_fit.h
URL: 
http://svn.gna.org/viewcvs/relax/trunk/target_functions/relax_fit.h?rev=26845&r1=26844&r2=26845&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=26845&r1=26844&r2=26845&view=diff




Related Messages


Powered by MHonArc, Updated Sat Nov 29 18:00:02 2014