mailr15470 - /branches/frame_order_testing/maths_fns/frame_order.py


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

Header


Content

Posted by edward on March 08, 2012 - 15:07:
Author: bugman
Date: Thu Mar  8 15:07:53 2012
New Revision: 15470

URL: http://svn.gna.org/viewcvs/relax?rev=15470&view=rev
Log:
The missing data binary arrays now are uint8 rather than float64.

This should decrease transfer time for multi-processors.


Modified:
    branches/frame_order_testing/maths_fns/frame_order.py

Modified: branches/frame_order_testing/maths_fns/frame_order.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/maths_fns/frame_order.py?rev=15470&r1=15469&r2=15470&view=diff
==============================================================================
--- branches/frame_order_testing/maths_fns/frame_order.py (original)
+++ branches/frame_order_testing/maths_fns/frame_order.py Thu Mar  8 15:07:53 
2012
@@ -26,7 +26,7 @@
 # Python module imports.
 from copy import deepcopy
 from math import acos, ceil, pi, sqrt
-from numpy import array, dot, float32, float64, ones, transpose, zeros
+from numpy import array, dot, float32, float64, ones, transpose, uint8, zeros
 try:
     from numpy import float16
 except ImportError:
@@ -197,11 +197,11 @@
 
         # Missing data matrices (RDC).
         if self.rdc_flag:
-            self.missing_rdc = zeros((self.num_align, self.num_rdc), float64)
+            self.missing_rdc = zeros((self.num_align, self.num_rdc), uint8)
 
         # Missing data matrices (PCS).
         if self.pcs_flag:
-            self.missing_pcs = zeros((self.num_align, self.num_pcs), float64)
+            self.missing_pcs = zeros((self.num_align, self.num_pcs), uint8)
 
         # Clean up problematic data and put the weights into the errors..
         if self.rdc_flag or self.pcs_flag:




Related Messages


Powered by MHonArc, Updated Mon Mar 12 15:40:02 2012