Scripting Resources for DigitalMicrograph™

banner

Dave Mitchell's DigitalMicrograph™ Scripting Website

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

 

Function: Read Bruker EDS Spectrum text file
Function
A function which will read in a Bruker EDS spectrum file which has been exported in text format.
Version
version:20160702, v1.1
Author
D. R. G. Mitchell
Acknowledgements
Thanks to Joana Polednia for testing this script.
Comments

Simply point at the saved text file and it is read into a spectrum. To export Bruker EDS spectral data from Esprit into MSA format requires an additional Esprit plugin, but the text format option comes as standard with that software.

Updated in v1.1: Esprit has various language variants. The headers in an exported text file appear in whatever language is being used. This version has been updated to make it aware of the German language as well as English. If you want other language variants added, please send me a spectrum exported in .txt format in the language you are using.

System Requirements
Tested on GMS 2.x, but should be compatible all recent versions.
Known Issues
-
Supported
Yes
Included Files
Main script file.
Source Code

See the attached script