Skip to content

Commit 9145bf7

Browse files
committed
daeger eit load offset error, add offset 8->16
1 parent 11fb738 commit 9145bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyeit/io/daeger_eit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def read_header(fname, max_lines=50):
7676
with open(fname, "rb") as fh:
7777
b = fh.read(16)
7878
a = struct.unpack("8H", b)
79-
offset = a[2] + 8
79+
offset = a[2] + 16
8080

8181
# number of frames
8282
nframe = int((flen - offset) / spc)

0 commit comments

Comments
 (0)