Scripting Resources for DigitalMicrograph™

banner

Dave Mitchell's DigitalMicrograph™ Scripting Website

Home | Scripts | Examples | Functions | Recent Updates | Tutorials | Resources | Publications | Consulting | Projects | Contact & Bio |PyJEM| Search

 

Example: Live Image-Spectrum Acquisition
Function
Shows how to acquire a live image and convert it to a spectrum.
Version
version:20170204, v1.0
Author
D. R. G. Mitchell
Acknowledgements
-
Comments
Example code which shows how to use the camera manager object to acquire a live image from a CCD camera. The 2D image is converted into a 1D spectrum. The live acquisition runs for 100 cycles and then terminates. It can also be terminated by pressing the Space Bar.
System Requirements
Should be compatible with all recent versions of DigitalMicrograph. This script will only work with systems which are connected to a Gatan camera.
Known Issues
-
Supported
Yes
Included Files
Main script file.
Source Code
// See attached script