Print all image documents with an optional frame
DigitalMicrograph - Gatan
This automation script will print all currently shown images in page mode using the default printer setting. The script will optionally add a rectangular border to the page.
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.
Monitor a value over time
DigitalMicrograph - Gatan
This example script monitors a value and plots it in regular intervals, creating a growing LinePlot. The script is a template that can easily be modified to create time-logging of any script-accessible value.
Merge images
DigitalMicrograph - Gatan
Combine two images of different intensity levels into one. Useful to merge diffraction patterns of different exposure times.
Make Gaussians
DigitalMicrograph - Gatan
Generate a 1D and 2D Gaussian distribution (demonstrate function overload).
Launching an external application and regularly checking if it is still running
DigitalMicrograph - Gatan
Example script showing how the external application Notepad.exe can be launched. The script regularly polls whether or not Notepad.exe is still open so that actions can be performed once the external application is closed.
Iterate layouts
DigitalMicrograph - Gatan
Command example showing how ImageDocument layouts are set.
Interactive histogram
DigitalMicrograph - Gatan
Compute a histogram of the frontmost image and allow interactive change of histogram bins.