mailr22983 - /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 05, 2014 - 20:18:
Author: tlinnet
Date: Mon May  5 20:18:51 2014
New Revision: 22983

URL: http://svn.gna.org/viewcvs/relax?rev=22983&view=rev
Log:
Replaced pb and pa with relax parameter pA.

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=22983&r1=22982&r2=22983&view=diff
==============================================================================
--- trunk/lib/dispersion/b14.py (original)
+++ trunk/lib/dispersion/b14.py Mon May  5 20:18:51 2014
@@ -130,15 +130,14 @@
     @type num_points:       int
     """
 
-    # Conversion from relax parameters, to the exact code of Baldwin.
-    pb = 1 - pA
+    # The B population.
+    pB = 1.0 - pA
 
     #########################################################################
     ##### Baldwins code.
     #########################################################################
-    pa = (1 - pb)
-    keg = kex * (1 - pb)
-    kge = kex * pb
+    keg = kex * (1 - pB)
+    kge = kex * pB
     deltaR2 = r20a - r20b
     alpha_m = r20a - r20b + kge - keg
 




Related Messages


Powered by MHonArc, Updated Mon May 05 20:20:02 2014