Show all scripts

Gaussian FIT

Category: Fit/Interpolate/Extrapolate
Description: This script is a direct adaptation of "Gaussian Fit" script (v1.1) by David Mitchell and W. Bertram of ANSTO Materials. The main difference is that (1) Fit routine is now encapsulated as a script function, (2) Array variables are used in fitting routine to speed up the calculation, and (3) An new fit routine designed specifically for 1-D spectrum image is also included. A simple example of how to use the Gaussian fit function is also included as part of the script file.
Acknowledgements: Thank Dave Mitchell and W. Bertram for the initial codes and algorithm.
Script version: 1.2
DM/GMS version: 1.5.1
Script written as a function: No
Source: Show code
Download Source Code: Download
Download Zip File: Download