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.
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.
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.