We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 698b077 commit 0d6dc09Copy full SHA for 0d6dc09
neo/rawio/micromedrawio.py
@@ -148,11 +148,11 @@ def _parse_header(self):
148
149
# this skips the filtering info done with the machine
150
f.seek(8, 1)
151
-
+
152
#(sampling_rate,) = f.read_f("H")
153
# sampling_rate is actually the rate_coefficient which is multipled by the
154
# Rate_Min which is the sampling_rate
155
- sampling_rate = struct.unpack("H", f.read(struct.calcsize("H")))
+ sampling_rate = struct.unpack("H", f.read(struct.calcsize("H")))[0]
156
sampling_rate *= Rate_Min
157
chan_id = str(c)
158
signal_channels.append(
0 commit comments