4D Scanning Transmission Electron Microscopy (4D STEM) provides crucial insights into materials structures by utilizing Differential Phase Contrast (DPC), ptychography, orientation and strain mapping. The software available on this page deals with treatment of 4DSTEM data. In particular, TEMDM applies intensively Multivariate Statistical Analysis (MSA), i.e. Principal Component Analysis (PCA) for denoising data.
4Diffractor
Stand-alone tool for treatment 4DSTEM datasets.
Main Features:
>> Read some formats of 4DSTEM datasets. Currently supported formats:
Developer | Extension | Read | Write |
DigitalMicrograph (Ametek) | dm3,dm4 | 4D | No |
EMPAD | raw | 4D | No |
>> Provides convenient data visualization with virtual circular / ring apertures; makes clipping and recentering data in the direct and diffraction space.
>> Perform “silent” (no user interaction) PCA denoising of 4DSTEM datasets. An automatically determined number of principal components can be further changed
>> Allows for clustering data in the latent factor space with visualizing cluster spatial shapes and spectral signatures.
4Diffractor Download
version 1.0.1 (18.06.2025)
Installation Instructions
For Windows:
- The self-extracting installer is a standard Windows App installer that installs 4Diffractor into the folder of your choice in the most clean way. It registers app in Windows and also creates a shortcut at your desktop. Simply double-click the installer and follow the instructions. Caution: this file has extension ‘exe’, thus some browsers prompt you for some additional security confirmations when downloading.
- The zip file requires more manual actions in installation than the installer. Extract it to any folder of your system, preferably to “Program Files”, otherwise you will every time need admin rights to run it. Find “4Diffractor.exe” in the installed folder and double-click at it.
For Linux:
- Extract the zip file to any folder of your Linux file system. The extracted folder consists of dynamic link, thus cannot be transferred via, fore instance, standard USB sticks. Launch it by double-clicking at “4Diffractor”. You can also register it in your Apps Menu by following the instructions in attached README.