Simple dialogs
Python - Gatan
The input command presents a simple dialog and returns the entered string. Some other simple prompted dialogs are provided by the plugin.
Text output examples
Python - Gatan
Basic text output examples in DigitalMicrograph. By default, the output stream is sent to the Results window.
Camera acquisition
Python - Gatan
Example script showing different types of camera acquisition.
DigiScan acquisition
Python - Gatan
Example script staring a simple DigiScan acquisition via a parameter set. For more details on DigiScan access via scripting also refer to the DM-scripting documentation.
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).
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.