licel.py

changeset 16
1122ee9ef151
parent 2
b11082bfcb4a
child 21
406eb996a9cd
--- a/licel.py	Mon Feb 18 12:21:05 2013 +0100
+++ b/licel.py	Fri Oct 25 18:41:20 2013 +0200
@@ -54,7 +54,7 @@
 
         # Import the data
         for current_channel_info in channel_info:
-            raw_data = np.fromfile(f, 'l', int(current_channel_info['DataPoints']))
+            raw_data = np.fromfile(f, 'i4', int(current_channel_info['DataPoints']))
             a = np.fromfile(f, 'b', 1)
             b = np.fromfile(f, 'b', 1)
 

mercurial