Microscope access
Python - Gatan
Example script basic microscope access. For further info please also refer to the DM-scripting documentation on microscope access.
Count negative pixels
Python - Gatan
Count the number of negative pixels in the front image.
Creating DM images and accessing image data
Python - Gatan
DM images can be created from Numpy arrays. DM image values can be accessed as a Numpy array.
Extracting a spectrum
Python - Gatan
Access a single spectrum from a 3D STEM SI in DigitalMicrograph. This script assumes a 3D image is frontmost on the workspace.
Colorband spectrum image
DigitalMicrograph - Gatan
Generates an RGB image from a spectrum image with user-defined central wavelength and bandwidth. Useful for displaying spectrum image data.
Display listener (show z-stack position)
DigitalMicrograph - Gatan
Creates an annotation for the currently displayed wavelength in a spectrum image. Ideal for embedding current wavelength in images and videos.
RGB color stack
DigitalMicrograph - Gatan
Generates a 3D RGB image with each slice (wavelength image) colored according to its wavelength to match visible light. Each slice is normalized to itself.
Waterfall
DigitalMicrograph - Gatan
Adds a defined offset to a collection of spectra when the display type is set to a LinePlot data set; useful for displaying multiple spectra in a single image display, e.g., spectrum image (SI) time series, SI line scan, or (SI) multi-point acquisition modes.
InGaN bandgap to concentration
DigitalMicrograph - Gatan
A basic script that uses an equation and parameters to estimate the concentration of In in an InGaN spectrum image. Requires as input: Map of bandgap estimation (output from NLLS fitting).