Skip to content

Commit

Permalink
daeger eit load offset error, add offset 8->16
Browse files Browse the repository at this point in the history
  • Loading branch information
liubenyuan committed Oct 24, 2023
1 parent 11fb738 commit 9145bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyeit/io/daeger_eit.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def read_header(fname, max_lines=50):
with open(fname, "rb") as fh:
b = fh.read(16)
a = struct.unpack("8H", b)
offset = a[2] + 8
offset = a[2] + 16

# number of frames
nframe = int((flen - offset) / spc)
Expand Down

0 comments on commit 9145bf7

Please sign in to comment.