Skip to content

Commit 3ed2fca

Browse files
authored
daeger eit load offset error, add offset 8->16 (#96)
1 parent 11fb738 commit 3ed2fca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)