mailr23041 - /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:37 2014
New Revision: 23041

URL: http://svn.gna.org/viewcvs/relax?rev=23041&view=rev
Log:
Elimination of minus in library function b14.py.

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=23041&r1=23040&r2=23041&view=diff
==============================================================================
--- trunk/lib/dispersion/b14.py (original)
+++ trunk/lib/dispersion/b14.py Wed May  7 15:54:37 2014
@@ -222,7 +222,7 @@
     y = power( (ex0b - v3) / (ex0b + v3), ncyc)
 
     # Off diagonal common factor. sinh fuctions.
-    v2pPdN = (-deltaR2 + kex + dw*1j) * ex0c + (-oGt2 - k_AB * t1pt2) * 2. * 
ex1c
+    v2pPdN = (-deltaR2 + kex + dw*1j) * ex0c - 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