2D plane wave
DigitalMicrograph - Gatan
Create 2D sine wave image with a given angle and periodicity.
4D STEM maximum spot mapping
Python - Gatan
Produce a colorful map of crystalline regions from a 4D STEM dataset open in DigitalMicrograph using a simple algorithm that finds the location and intensity of the maximum pixel in each pattern. While the result looks like an orientation map, it does not perform proper orientation mapping.
Add scale-bar and intensity-bar
DigitalMicrograph - Gatan
Command example showing how scale-bar and intensity-bar annotations are created on an image.
Adding annotations to an image display
Python - Gatan
Example of adding annotation components to an ImageDisplay. The script uses the front-most displayed image. If none is found, it creates and displays one.
Amorphous
DigitalMicrograph - Gatan
Make an image resembling a TEM image of an amorphous specimen.
Annotation scaling
DigitalMicrograph - Gatan
Scale all of the annotations on an image by a requested factor.
Bin 2D image
DigitalMicrograph - Gatan
Bin pixels in 2D images (demonstrate Slice2 command).
Bin 3D image
DigitalMicrograph - Gatan
Perform voxel binning in 3D images (demonstrate Slice3 command).
Calling a Command-Line command from script and showing its output
DigitalMicrograph - Gatan
The script uses the Command-Line command "ipconfig" and outputs its results into a new text window of DigitalMicrograph. The script is a useful blueprint for similar tasks that can be performed from the regular Windows Command-Line.