Convert Oxford EBSD patterns in HDF5 for EMSOFT

The following python script converts a list of pattern in the _picRep_ folder with naming conventions “NAME_ID” where ID = Nx*y+x, into an HDF5 format compatible with EMSOFT.

To use it, change the values of the variables in the PARAMETERS section to the one that fits to you.

Note that you will need an HDF5 template file, I usually use one of the HDF5 provided for the EDAX Nickel example on the EMSOFT website: