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 0ae6e76 commit beb8827Copy full SHA for beb8827
neo/rawio/plexonrawio.py
@@ -209,7 +209,9 @@ def _parse_header(self):
209
for index, pos in enumerate(positions):
210
bl_header = data[pos : pos + 16].view(DataBlockHeader)[0]
211
212
- timestamp = bl_header["UpperByteOf5ByteTimestamp"] * 2**32 + bl_header["TimeStamp"]
+ current_upper_byte_of_5_byte_timestamp = int(bl_header["UpperByteOf5ByteTimestamp"])
213
+ current_bl_timestamp = int(bl_header["TimeStamp"])
214
+ timestamp = current_upper_byte_of_5_byte_timestamp * 2**32 + current_bl_timestamp
215
n1 = bl_header["NumberOfWaveforms"]
216
n2 = bl_header["NumberOfWordsInWaveform"]
217
sample_count = n1 * n2
0 commit comments