pyxem is an open-source (GPL v3) python library for multi-dimensional diffraction microscopy.
The package defines objects and functions for the analysis of numerous diffraction patterns. It has been primarily developed as a platform for hybrid diffraction-microscopy based on 4D scanning diffraction microscopy data in which a 2D diffraction pattern is recorded at every position in a 2D scan of a specimen.
pyxem is an extension of the hyperspy library for multi-dimensional data analysis and defines diffraction specific Signal classes.
Installation instructions and tutorial examples are available here .
Basic Documentation is available here.
If analysis using pyxem forms a part of published work please cite the DOI at the top of this page. In addition to citing the package we would appreciate an additional citation to methods papers if you use the following capabilities:
@article{pyxemorientationmapping2022, title={Free, flexible and fast: Orientation mapping using the multi-core and GPU-accelerated template matching capabilities in the python-based open source 4D-STEM analysis toolbox Pyxem}, author={Cautaerts, Niels and Crout, Phillip and {\AA}nes, H{\aa}kon Wiik and Prestat, Eric and Jeong, Jiwon and Dehm, Gerhard and Liebscher, Christian H}, journal={Ultramicroscopy}, pages={113517}, year={2022}, publisher={Elsevier}, doi={10.1016/j.ultramic.2022.113517} }
Two-Dimensional Strain Mapping with Scanning Precession Electron Diffraction: An Investigation into Data Analysis Routines by Crout et al. which is freely avaliable at https://arxiv.org/abs/2307.01071