mailr23044 - /trunk/lib/dispersion/b14.py


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

Header


Content

Posted by tlinnet on May 07, 2014 - 15:54:
Author: tlinnet
Date: Wed May  7 15:54:42 2014
New Revision: 23044

URL: http://svn.gna.org/viewcvs/relax?rev=23044&view=rev
Log:
Replaced "ex0c" with "v1s" to follow manual and paper.

sr #3154: (https://gna.org/support/?3154) Implementation of Baldwin (2014) 
B14 model - 2-site exact solution model for all time scales.

This follows the tutorial for adding relaxation dispersion models at:
http://wiki.nmr-relax.com/Tutorial_for_adding_relaxation_dispersion_models_to_relax#Debugging

Modified:
    trunk/lib/dispersion/b14.py

Modified: trunk/lib/dispersion/b14.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/lib/dispersion/b14.py?rev=23044&r1=23043&r2=23044&view=diff
==============================================================================
--- trunk/lib/dispersion/b14.py (original)
+++ trunk/lib/dispersion/b14.py Wed May  7 15:54:42 2014
@@ -211,7 +211,7 @@
     v1c = F0 * cosh(E0) - f2 * cos(E2)
 
     # Complex.
-    ex0c = F0 * sinh(E0) - f2 * sin(E2)*1j
+    v1s = F0 * sinh(E0) - f2 * sin(E2)*1j
 
     # Complex.
     ex1c = sinh(E1)
@@ -222,7 +222,7 @@
     y = power( (v1c - v3) / (v1c + v3), ncyc)
 
     # Off diagonal common factor. sinh fuctions.
-    v2pPdN = (-deltaR2 + kex + dw*1j) * ex0c - 2. * (oGt2 + k_AB * t1pt2) * 
ex1c
+    v2pPdN = (-deltaR2 + kex + dw*1j) * v1s - 2. * (oGt2 + k_AB * t1pt2) * 
ex1c
 
     Tog = (1. + y) / 2. + (1. - y) / (2. * v3) * v2pPdN / N
 




Related Messages


Powered by MHonArc, Updated Wed May 07 16:00:02 2014