Subtract or divide multiple spectra

This covers subtracting or dividing two or more spectra to yield a new spectrum. For adding and multiplying spectra see Add or multiply multiple spectra.

1. Activate the Calculator toggle button from the Toolbar. This will activate the 'Add / multiply spectra' panel.

2. Press the desired operation (/ or -). This will open a selection dialog box.

3. Each of the spectra selected in the left listbox will be subtracted (or divided) by all the spectra selected in the right listbox. I.e. if 2 spectra have been selected in the left listbox this will generate two new spectra:

For subtraction:

New1 = 'Left selection1' - sum('Right selections')

New2 = 'Left selection2' - sum('Right selections')

For division:

New1 = 'Left selection1' / prod('Right selections')

New2 = 'Left selection2' / prod('Right selections')

If 3 spectra have been selected in the left listbox this will generate 3 new spectra, etc..

Each of the new spectra will added to the data listbox and plotted in the graph window in black.