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

 

Example: Fit a Background to an EELS Spectrum
Function
An example script which shows how to fit a background to the front-most EELS spectrum. A region of interest must define the region for background fitting.
Version
version:20111209, v1.0
Author
D. R. G. Mitchell
Acknowledgements
-
Comments
There are a range of EELS-specific script functions, which include several for background fitting (using various models). These can be found in the help menu under EELS/EELS Analysis/Script Interface (provided you have the EELS plugins). In GMS 1.84 I have found some of these functions to be a bit buggy, but that may be specific to me/this version.
System Requirements
Should be compatible with all recent versions of DigitalMicrograph, though not tested in GMS 2.
Known Issues
-
Supported
Yes
Included Files
Main script file.
Source Code

See attached script file