WARCL polar map to energy-momentum mapping
DigitalMicrograph - Gatan
Remaps a 3D WARCL polar map image stack to an energy-momentum basis.
PMT time series for MonoCL3 and MonoCL4 systems
DigitalMicrograph - Gatan
Generates an intensity profile as a function of time using the cps value displayed in the MonoCL Control palette. Useful for measuring beam-induced changes in the specimen emission intensity.
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.
Circular mask image
Python - Gatan
Create circularly masked version of the frontmost image.
Crop image center
Python - Gatan
Crop an image to a specified size. Only the data is copied.
Find image by ID
Python - Gatan
Example use of FindImage by ID. This script gets the chronologically last image. It works because image IDs are incremented whenever new memory is allocated.
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.
Create and show RGB image
Python - Gatan
This script creates 3 images in Python and utilizes a DM-script to create and show a color-overlay image. It is an example of how Hybrid scripts can be used to access functionality not (yet) available in the Python language directly. The script shows how image-labels can be used to address images across the two scripts.