Automated crystal orientation mapping by analytic azimuthal-harmonic correlation of sparse Bragg peak lists
Automated crystal orientation mapping indexes 4D-STEM diffraction patterns against simulated templates. We present a harmonic matcher that encodes measured Bragg peak lists and kinematic templates as azimuthal Fourier coefficients on the crystal's radial shells, evaluated at continuous peak positions. A square-root Gaussian kernel and two-sided normalization make the correlogram a normalized kernel correlation, and one inverse fast Fourier transform scores all in-plane angles of each zone axis in the Laue-group fundamental domain. Acquisition parameters are selected by maximizing the explained fraction of measured peaks. In simulations of 1-5 overlapping fcc Au grains, the matcher recovers single grains as reliably as py4DSTEM and more overlapping grains, with the fewest spurious orientations. On WS$_2$ and bent Sb$_2$Se$_3$ films without ground truth, it explains at least as many measured peaks as py4DSTEM on identical peak lists, and its Sb$_2$Se$_3$ orientations repeat within 1° between two scans at 95% of positions (py4DSTEM: 75%). Matching runs at up to $2.4 \times 10^5$ patterns per second on one GPU. Non-local harmonic averaging explains more held-out peaks in sparse 30 kV data of a Au film, and a map of a deformed NiAl-Cr(Mo) composite resolves rotations about the beam with a neighbor-difference noise of 0.12°.