Add reader of an EBSD signal from a directory EBSD pattern images, assuming they all have the same shape and data type, closing #459. This adds a dependency on imageio (which HyperSpy already has).
The navigation/map shape is attempted read from the filenames, possibly specified in a regular expression passed to xy_pattern, like r"-x(\d+)y(\d+).tif", and if this does not work, the returned signal will have one navigation dimension.
You might find this reader useful, @IMBalENce.
Note that no metadata is read from the image files.
Description of the change
Add reader of an EBSD signal from a directory EBSD pattern images, assuming they all have the same shape and data type, closing #459. This adds a dependency on
imageio
(which HyperSpy already has).The navigation/map shape is attempted read from the filenames, possibly specified in a regular expression passed to
xy_pattern
, liker"-x(\d+)y(\d+).tif"
, and if this does not work, the returned signal will have one navigation dimension.You might find this reader useful, @IMBalENce.
Note that no metadata is read from the image files.
Progress of the PR
Minimal example of the bug fix or new feature
For reviewers
__init__.py
.CHANGELOG.rst
.release.py
and.all-contributorsrc
and the table is regenerated.