If you use stemdiff package in your research, please cite:

Slouf M, Skoupy R, Pavlova E, Krzyzanek V:
Powder Nano-Beam Diffraction in Scanning Electron Microscope:
Fast and Simple Method for Analysis of Nanoparticle Crystal Structure
Nanomaterials 11 (2021) 962. https://doi.org/10.3390/nano11040962