Skip to content

Identifying elements

Every time a spectrum is opened, the enabled elements or ions change, or new options are applied, LIBSight works out which of the elements enabled in the periodic table are in the spectrum. The Elements window lists them; the model curve and the peak labels on the main chart come from the same analysis. The window comes up after every analysis, docked in the main window below the control bar; once closed, the Elements button of the main window brings it back.

How an element is found

Every element is judged by its key lines. For the elements of a battery black mass these are the lines LIBS knows them by, picked clear of the strong lines of the other elements of a black mass: Co I 356.94 is not among them, for instance, as it is 0.08 nm from Fe I 357.03. For any other element they are its strongest NIST lines inside the spectrum. Only the neutral atom (I) and the singly charged ion (II) are used; the higher ionisation states are too weak in a laser plasma. An ion with a single key line in the spectrum is only judged together with the other ion of its element: Co II 228.62 on a small peak says nothing when none of the Co I lines is there.

A key line is found when a peak is within 1.5 points of the spectrum, where those are far apart, or else within twice the line width (see options) of it. Finding lines means little by itself in a crowded spectrum, so each element gets a Confidence: one minus the chance that random wavelengths would land on peaks as well as its key lines do. That chance is measured around each line, so a line in the forest of Fe lines between 370 and 440 nm counts for less than one in a quiet part, and a line on a strong peak counts for more than one on a faint bump.

Status Meaning
Detected Confidence 95 % or more, at least two key lines found
Possible Confidence 80 % or more
Not found The key lines are not there, or no more than chance puts them there
Out of range No key line inside the spectrum

The NIST relative intensities are not used to judge an element. Every NIST spectrum has its own scale - C I 247.86 is 640 000 000, Li I 670.78 is 3600 - and the plasma does not keep the NIST ratios anyway: Li I 670.78 : 610.36 is 11 in NIST and about 1.3 in a black mass.

Wavelength offset

The key lines are slid over the peaks to find a calibration offset of the spectrometer, up to 0.5 nm either way. An offset found is shown in the summary and corrected for the analysis; the spectrum itself is not changed.

The Elements window

The window is docked below the control bar of the main window. Drag the splitter between them to make it taller or shorter; the height is kept when it is closed and comes back. Undock takes it out as a window of its own, and Dock puts it back. You can also drag it out by the grip on its left edge: it comes away under the mouse. Floating, it moves by its title bar like any window; carried over the control bar, the dock opens below it, and let go there, the window goes back in. Whether it is docked is remembered for the next start. The × on the grip closes it.

The summary at the top gives the elements analysed, the offset, the number of peaks and the chance level, how much of the peak signal is put down to the elements found, and the strongest peaks no element accounts for, with the elements that have a strong line there - a hint at what to enable next.

Column
Element Name and symbol
Role Where the element comes from in a battery - for a black mass only, see Black Mass
Status Detected, Possible, Not found or Out of range - see above
Signal % The part of the peak signal on the lines of the element. A peak on a key line goes to that element, a peak on a strong line of an element found to that element, any other peak to the elements a least-squares fit of their lines puts there. It is not a mass fraction: elements emit with very different efficiency.
Lines Key lines found of those inside the spectrum, of the ion that shows them best, or of both ions together (I+II)
Confidence See above
Key line The found key line with the highest peak
Height The height of that peak above the continuum - the number to compare samples by, or to build a calibration on
Note Self-reversed lines, single key lines and the like

Rows are tinted green for detected and yellow for possible elements. Click a row to mark it with * and draw on the main chart the part of the peak spectrum put down to the element - what its Signal % adds up - or, for an element not found, ticks where its key lines are. Click it again to remove it; closing the window removes them all. Copy puts the summary and the table on the clipboard, tab separated, ready to paste into a spreadsheet. Black mass analyses the spectrum as the black mass of recycled batteries - see Black Mass.

Self-reversed lines

A strong line the plasma reabsorbs at its centre shows as two peaks with a dip where the line is. Li I 670.78 often does. Such a line is marked in the Note column; its peaks still count for the element, but its signal reads low.

The model curve and the peak labels

The model curve on the main chart is the fit of the lines of the elements found; Sum line shows or hides it. With Show Labels ticked, every peak put down to an element carries the ion of the line that gives it the peak, for example Fe II. Peaks without a label are not explained by any element found - the summary lists the strongest of them.

Looking up a line

Drag the chart cursor onto a peak. The ion table lists every known line within Tolerance nm of the cursor, with its ion, wavelength and relative intensity - useful for checking whether a peak could belong to an element that is not enabled. Click a line in the table, or step through them with the arrow keys, to put the cursor on its wavelength and see where it falls on the peak; the table stays as it is.

Series of spectra

A .sif file usually holds a series of spectra - one per laser shot. LIBSight analyses each spectrum of the series separately and shows the result in the BarChart window: one bar per enabled element, with its mean Signal % over the series and the standard deviation as an error bar. Elements present in every shot have small error bars; an element that appears in only a few shots has a large one. The main chart and the Elements window then show the first spectrum of the series.

Double-click the bar chart to open the chart editor.