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

 

Gaussian Fit
Function
Fits a gaussian to a peak identified by a region of interest. Can be used to measure full width half maxima in EELS spectra. This capability has now been incorporated into a function, making it much easier to incorporate into your own scripts (see Function: Gaussian Fit).
Version
version:20040302, v1.0
Author
D. R. G. Mitchell and W. Bertram
Acknowledgements
Comments
It turns out, EELS zero loss peaks are a poor approximation of gaussians - lorentzians fit much better. However, the libraries used to fit these run to 1000s of lines of code, and so is in the too hard basket.
System Requirements
Should be compatible with all recent versions of DigitalMicrograph.
Known Issues
Supported
Yes
Included Files
Main script file.
Source Code

See attached script.