mailr21864 - /trunk/specific_analyses/relax_disp/disp_data.py


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

Header


Content

Posted by edward on December 08, 2013 - 12:19:
Author: bugman
Date: Sun Dec  8 12:19:01 2013
New Revision: 21864

URL: http://svn.gna.org/viewcvs/relax?rev=21864&view=rev
Log:
Fix for the relax_disp.plot_disp_curves user function.

The interpolated curves now have all invalid points of 1e100 removed from the 
graph.  This allows
for reasonable graph scaling.


Modified:
    trunk/specific_analyses/relax_disp/disp_data.py

Modified: trunk/specific_analyses/relax_disp/disp_data.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_disp/disp_data.py?rev=21864&r1=21863&r2=21864&view=diff
==============================================================================
--- trunk/specific_analyses/relax_disp/disp_data.py (original)
+++ trunk/specific_analyses/relax_disp/disp_data.py Sun Dec  8 12:19:01 2013
@@ -1680,6 +1680,10 @@
 
                     # Loop over the dispersion points.
                     for di in range(len(back_calc[ei][0][mi][oi])):
+                        # Skip invalid points (values of 1e100).
+                        if back_calc[ei][0][mi][oi][di]] > 1e50:
+                            continue
+
                         # The X point.
                         if exp_type in EXP_TYPE_LIST_CPMG:
                             point = cpmg_frqs_new[ei][mi][oi][di]




Related Messages


Powered by MHonArc, Updated Sun Dec 08 12:40:01 2013