Open source
Collection of open-source DigitalMicrograph (DM) plugins and Python tools for acquisition, visualization and processing of TEM/STEM and EELS data.
STEMCOR plugin for DigitalMicrograph
Corrects for linear drift and non-linear instabilities in two STEM images of the same area acquired with alternating the fast scan direction. Full version combines the previously released basic and advanced version. The open-source code is attached.
Acquire STEM Rotated Series
DigitalMicrograph plugin facilitating acquisition of STEM images with periodic alternation of the fast scan direction.
Thanks to: Dirk Utess (GloFo), Sebastian Sturm (LMU)
Automatic Truncation of PCA components
Python scripts for automatic separation of PCA components into meaningful and noisy ones. The method is described in Potapov P. and Lubk A., Advanced Structural and Chemical Imaging 5, 4 (2019). The implementation is augmented with a Bayesian estimation of the most probable component cut.
Import/Export DigitalMicrograph images
Python scripts to convert DigitalMicrograph images into NumPy arrays and back.
They provide the capability to read .dm3 and .dm4 files as NumPy arrays and
leverage various Python libraries for further processing. The processed data can be written back into
.dm3/.dm4 format. Developed with kind help from Bernhard Schaffer (Gatan).
The package also includes an interface with HyperSpy for enhanced functionality.
SetProfile
The SetProfile DM plugin is designed to handle multi-compositional line profiles across elemental maps. It streamlines the management of line-profile settings to obtain optimal visualization of multi-compositional variations and enables quick adjustment of profile parameters to enhance the appearance of the data.
Stereo
The Stereo DM plugin facilitates creation of a stereo pair from two TEM images captured at different tilts. The documentation explains how to perceive a 3D object from such a stereo pair without any additional equipment, using simple viewing techniques. Several example images are included.
TrackDrift
The TrackDrift DM plugin monitors the drift of a TEM sample by continuously observing a live, dynamically updated “search” image generated by DigitalMicrograph View or Digiscan tools. It measures and displays the magnitude and direction of the ongoing drift and maintains a temporal drift graph in a separate display for easy tracking and analysis over time.
Flattener
Images frequently show intensity gradients caused by uneven illumination or specimen thickness variations. The Flattener DM plugin provides a straightforward solution: with a user-friendly interface, optimal flattening results can be achieved in just a few seconds, efficiently correcting gradients and improving overall image quality.
Scan2D
This DM plugin emulates the Digiscan spectrum-imaging tool, with the distinction that it generates 2D spectra instead of 1D. It allows acquisition of a spectrum-image of a q–E EELS map (momentum transfer on the vertical axis, energy on the horizontal axis), providing richer information for analysis.
LabelLengths
This DM plugin, once outdated, has been significantly improved and redesigned. It supports measurement of dimensions and angles in DigitalMicrograph images and provides easily adjustable, manipulable labels that can be arranged for optimal image appearance, offering a more efficient workflow for annotation.
CumulativeEELS
This DM plugin enables multi-run cumulative acquisition of EELS, including simultaneous low-loss and core-loss acquisition, similar in spirit to Gatan dual-EELS.
ExtendedFrames
This DM scripts library comprises a collection of classes designed to extend the functionality of standard DigitalMicrograph dialog and image frames, providing additional capabilities for building more advanced user interfaces.
VirtualTEM
This DM plugin emulates a simplified TEM user interface and includes essential scripting commands for communication between DigitalMicrograph and the TEM. It provides a convenient and efficient way to control TEM operations from within the DigitalMicrograph environment.
BatchRecording
This DM plugin streamlines acquisition, display and saving of large batches of TEM images. It is designed to work together with VirtualTEM in offline systems, enabling efficient handling of extensive image datasets.
ClickMover
This DM plugin enables interactive field-of-view manipulation in the live image by simply clicking with the mouse. It provides a user-friendly way to navigate and adjust the field of view in real time.
Timer
This DM plugin is a simple timer for counting time intervals associated with various tasks, such as nitrogen refills.
Debugger
This DM plugin assists in locating bugs in DigitalMicrograph scripts by inserting print markers. Strategically placed markers print relevant information during execution, helping identify and isolate issues and improving script reliability.
ImportImage
This DM script provides functionality to import TIA SER images and TIFF SEM images from systems such as FEI, Zeiss and AnalySiS into DigitalMicrograph, streamlining integration of data from multiple platforms.
SetFolder
This DM script tracks recently opened folders in DigitalMicrograph and provides a convenient way to navigate among them quickly.