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).
Interactive histogram
DigitalMicrograph - Gatan
Compute a histogram of the frontmost image and allow interactive change of histogram bins.
Iterate layouts
DigitalMicrograph - Gatan
Command example showing how ImageDocument layouts are set.
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.
Make Gaussians
DigitalMicrograph - Gatan
Generate a 1D and 2D Gaussian distribution (demonstrate function overload).
Merge images
DigitalMicrograph - Gatan
Combine two images of different intensity levels into one. Useful to merge diffraction patterns of different exposure times.
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.
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.