mailRe: r23701 - /trunk/target_functions/relax_disp.py


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

Header


Content

Posted by Edward d'Auvergne on June 06, 2014 - 17:17:
Looks like I'll have to release relax 3.2.3 early next week ;)  I'll
wait for the other 'full' dispersion models to be fixed though.

Cheers!

Edward



On 6 June 2014 17:12,  <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet
Date: Fri Jun  6 17:12:13 2014
New Revision: 23701

URL: http://svn.gna.org/viewcvs/relax?rev=23701&view=rev
Log:
Fix for the wrong unpacking of R20A and R20B in model CR72 full.

bug #22146: (https://gna.org/bugs/?22146) Unpacking of R2A and R2B is 
performed wrong for clustered "full" dispersion models

Modified:
    trunk/target_functions/relax_disp.py

Modified: trunk/target_functions/relax_disp.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/target_functions/relax_disp.py?rev=23701&r1=23700&r2=23701&view=diff
==============================================================================
--- trunk/target_functions/relax_disp.py        (original)
+++ trunk/target_functions/relax_disp.py        Fri Jun  6 17:12:13 2014
@@ -921,8 +921,9 @@
             params = dot(params, self.scaling_matrix)

         # Unpack the parameter values.
-        R20A = params[:self.end_index[0]]
-        R20B = params[self.end_index[0]:self.end_index[1]]
+        R20 = params[:self.end_index[1]].reshape(self.num_spins*2, 
self.num_frq)
+        R20A = R20[::2].flatten()
+        R20B = R20[1::2].flatten()
         dw = params[self.end_index[1]:self.end_index[2]]
         pA = params[self.end_index[2]]
         kex = params[self.end_index[2]+1]


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
relax-commits@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits



Related Messages


Powered by MHonArc, Updated Fri Jun 06 17:20:11 2014