Open hakonanes opened 6 months ago
This will have to wait for the next minor release, 0.11, as it requires a bit more work.
orix' Bruker reader function takes an HDF5 file path. We want to use this function before returning an EBSD signal from our Bruker HDF5 reader. The reader is implemented in a file_reader()
function. In there, though, we parse the already opened HDF5 top group. orix cannot take an HDF5 top group, although that would be very convenient!
orix can read orientation data from a Bruker HDF5 file. We should use this reader to populate the
EBSD.xmap
property returned when reading EBSD data from a Bruker HDF5 file.For safety, we can do this in a try/except.