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

 

Import Noran EMSA into Spectrum
Function
Imports EDS spectrum files (in their native EMSA format) from Noran System 7 into DigitalMicrograph.
Version
version:20140331, v1.0
Author
D. R. G. Mitchell
Acknowledgements
-
Comments

Noran System 7 saves EDS spectra in the EMSA format - essentially a text file containing a header with various bits of spectral info, followed by the energy and intensity data of each channel. This script reads the salient information from the header to enable a correctly calibrated EDS spectrum to be displayed in DigitalMicrograph.

System Requirements
Should be compatible with all recent versions of DigitalMicrograph. The extension of the spectrum file should not matter, as long as it is readable text.
Known Issues
You may be able to use this script to read in EMSA files exported from other EDS systems. If you encounter problems - please send me your EMSA file and I'll modify the script to suit.
Supported
Yes
Included Files
Main script file.
Source Code

See attached script file