pyxem / kikuchipy

Toolbox for analysis of electron backscatter diffraction (EBSD) patterns
https://kikuchipy.org
GNU General Public License v3.0
79 stars 30 forks source link

Fix reading of Oxford Instruments binary .ebsp files of version 4 #602

Closed hakonanes closed 1 year ago

hakonanes commented 1 year ago

Description of the change

This fix ensures Oxford Instruments' binary .ebsp files of version 4 can be read by skipping an extra byte (uint8) after the file version. When accounting for this extra byte, patterns are read correctly as before. This fixes #591.

Thanks to @drowenhorst-nrl for this insight.

I don't know what this extra byte is, but it is 0 (when read as uint8) in the file I have access to.

Progress of the PR

For reviewers