To begin peak deconvolution, select the ‘Peak fitting→Peak table’ menu option, as below:

This will open the ‘Peak table’ window, shown below:


Once the marker is in the correct position for the peak, press the ‘Add peak’ button in the peak table window. OpticalFit will place the peak at the position of the inspection marker, and automatically determine the peak height and full width at half maximum (FWHM) by fitting the peak against the current residual spectrum.

With the peak added to the table, the spectrum plot will refresh to show the peak profile (as below).

When you add a new peak, the peak height and width are determined by fitting the peak against the residual spectrum. However, the peak position is fixed at the selected energy/wavelength, as set by the user via the inspection marker. Often, it is a good idea after adding a peak to fit all the peak parameters, including the position. To do this, press the ‘Fit!’ button in the peak table window. The adjusted peak will be moved and scaled to minimise the fit error, as shown below:

You may repeat the above process to add as many peaks as are required to adequately fit the spectrum. In the case of the boron nitride example shown above, three peaks were required to adequately fit the spectrum, as shown below:

The peak table lists the positions, heights and width of the three peaks, and also lists several fit metrics at the bottom of the table area:

To optimise the peak fit using a nonlinear least-squares fitting algorithm, press the ‘Fit!’ button. This will optimise the fit quality by varying the peak height, width and FWHM of all peaks in the peak table, except those explicitly locked in the peak table (i.e. ‘Fit’ = ‘No’).
To edit any of the entries in the peak table, double-click the left mouse button on the entry.
The meanings of the various entries are described below:
| Label | The text used to label the peak in the spectrum view. If not set explicitly by the user, the default label will be the peak position. |
|---|---|
| Colour | The colour used to display the spectrum profile in the spectrum view. |
| Fit All | This button determines whether all parameters for the selected peak (position, height, FWHM, G/L) are free to be modified by the fitting algorithm (fit all = yes) or will be locked and not modified by the fitting algorithm (fit all = no). |
| Position | The position of the peak centre along the x-axis, measured in the current x-axis units. |
| Fit | This button determines whether the position parameter will be free to be modified by the fitting algorithm (fit = yes) or will be locked and not modified by the fitting algorithm (fit = no). |
| Height | The height of the peak, measured in the same units as the spectrum y-axis. |
| Fit | This button determines whether the height parameter will be free to be modified by the fitting algorithm (fit = yes) or will be locked and not modified by the fitting algorithm (fit = no). |
| FWHM | The full width at half maximum of the peak, measured in the current x-axis units. |
| Fit | This button determines whether the FWHM parameter will be free to be modified by the fitting algorithm (fit = yes) or will be locked and not modified by the fitting algorithm (fit = no). |
| G/L | The ratio of Gaussian to Lorentzian peak profile, ranging from 0 (Lorentzian only) to 1 (Gaussian only). |
| Fit | This button determines whether the G/L parameter will be free to be modified by the fitting algorithm (fit = yes) or will be locked and not modified by the fitting algorithm (fit = no). |
To delete a peak from the peak table, select it from the peak table using a single click of the left mouse button, then press the ‘Delete peak’ button.
Please refer to the loading and saving peak tables page.
© Copyright 2008-2018 CSIRO. All rights reserved.