EELS subtraction with error

Category: Math functions & Calculations
Author:
Description: In GSM 2 the errors calculated in EELS spectrum analysis are only the square root of the total signal before background subtraction. This calculation underestimates the error. In this script the errors from the background fit are also included.
Comments: Does not work in GMS 3 (functions missing).
Acknowledgements: This script could not have been written without the help of Bernhard Schaffer.
Script version: 1
DM/GMS version: 2.3.0
Script written as a function: No
Source: Show code
Download Source Code: Download
Download Zip File: Download