mailr23991 - /branches/disp_spin_speed/specific_analyses/relax_disp/data.py


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

Header


Content

Posted by tlinnet on June 16, 2014 - 19:01:
Author: tlinnet
Date: Mon Jun 16 19:01:41 2014
New Revision: 23991

URL: http://svn.gna.org/viewcvs/relax?rev=23991&view=rev
Log:
Fix for plotting, since the back_calc now can hold more datapoints that cpmg 
frequencies.

This is because the numpy array has been expanded to the maximum number of 
points.

Task #7807 (https://gna.org/task/index.php?7807): Speed-up of dispersion 
models for Clustered analysis.

Modified:
    branches/disp_spin_speed/specific_analyses/relax_disp/data.py

Modified: branches/disp_spin_speed/specific_analyses/relax_disp/data.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/disp_spin_speed/specific_analyses/relax_disp/data.py?rev=23991&r1=23990&r2=23991&view=diff
==============================================================================
--- branches/disp_spin_speed/specific_analyses/relax_disp/data.py       
(original)
+++ branches/disp_spin_speed/specific_analyses/relax_disp/data.py       Mon 
Jun 16 19:01:41 2014
@@ -1854,6 +1854,9 @@
 
                     # Loop over the dispersion points.
                     for di in range(len(back_calc[ei][0][mi][oi])):
+                        # Back calc can have more points in end of array.
+                        if di > len(cpmg_frqs_new[ei][mi][oi]) - 1:
+                            continue
                         # Skip invalid points (values of 1e100).
                         if back_calc[ei][0][mi][oi][di] > 1e50:
                             continue




Related Messages


Powered by MHonArc, Updated Mon Jun 16 19:20:02 2014