[skip navigation]
[ASD Home][Lines Query][Levels Query][List of Spectra][Ground States and Ionization Energies] [Bibliography][Help] NIST Physical Measurement Laboratory
National Institute of Standards and Technology NIST Physical Measurement Laboratory

Go to top of ASD Help The ASD interface for Laser-Induced Breakdown Spectroscopy (LIBS) provides a convenient and straightforward access to the ASD data of relevance to LIBS applications, allowing the users to plot synthetic spectra of virtually any mixture of chemical elements at typical physical conditions of laser-induced plasmas and compare these synthetic plots with experimental spectra.

In this interface, one can specify a plasma composition and rough initial estimates of observational parameters, such as electron temperature and density, wavelength range, and spectral resolution. Initial Saha-Boltzmann modeling is made on the server side, and all relevant data, such as spectral lines and energy levels data, are transmitted to the user's computer, which plots the simulated spectrum. Then it is possible for the user to change the appearance of the plot by zooming in and out or selecting graphs for individual species and recalculate the simulated spectrum with modified parameters. In addition, the user can load an experimental spectrum into the same plot and compare it with the simulation. In the current version first released in June 2017, fitting of the experimental spectrum can only be made manually, by changing the temperature, density, resolution, or element concentrations.

Go to top of page   LIBS Input Form

This input form allows the user to specify the chemical composition of the plasma, its temperature and density, the range of observed wavelengths, and the spectral resolution desired for the synthetic spectrum.

At a minimum, the user must enter at least one chemical element and then click "Retrieve Data".

The LIBS Input Form prompts the user for the following information:

Go to top of page   Selecting Elements and their Percentages for LIBS modeling

In the Element box, type the element symbol, which is a standard symbol of a chemical element, according to NIST Periodic Table of the Elements.

The LIBS modeling requires data on spectral lines for the first three spectra of an element (neutral, singly ionized, and doubly ionized), including the energy-level classifications and radiative transition probabilities. For most elements of common interest for LIBS, ASD has sufficiently large data sets including this information. However, there are many exceptions. Thus, before starting the modeling, it is a good idea to check the Lines Holdings to ensure that the data coverage in ASD is sufficient for the elements of interest.

In the Percentage box, if more than one element is present, type the percentage of this element in the mixture (i.e., the percentage of the number of atoms of this element) and hit the [Tab] or [Enter] key. Initially, the form displays only one input box for an element and one for its percentage. If the entered percentage is less than 100, an additional pair of boxes will appear, allowing the user to enter the second element and its percentage. This appearance of new boxes will continue until the sum of entered percentages is equal to 100. The user can edit the previously entered elements and their percentages or remove a particular element (except the first one) by clicking on a [Remove] link before its box. In this case, the other percentages may be automatically recalculated, so that they sum up to 100, or a prompt for an additional element may appear. It is possible to enter an element with a zero percentage. Such an element will not contribute to the initial modeling performed by the ASD server. However, its relevant line and level data will be submitted to the user's computer, where subsequent modifications can be made to the percentage composition and other parameters (see Help for the Recalculate Form appearing in the output.

Go to top of page  Lower and Upper Wavelength limits

The wavelength range limits must both be non-empty. They must be valid non-negative numbers, and the Upper Wavelength must be greater than the Lower wavelength. Pay attention to the Wavelength Units and the Wavelength in choices, as they cannot be modified in the Recalculate Form.

Go to top of page  Wavelength Presentation Choice

In the LIBS output, the wavelengths can be presented in one of the two standard ways, The choice is made by selecting a corresponding radio button next to the Wavelength in label in the form.

Wavelengths of all spectral lines displayed in the LIBS output are the Ritz wavelengths, i.e., the wavelengths calculated from the energy levels (see Help on Observed and Ritz Wavelengths for more explanations, including the conversion between the air and vacuum wavelengths).

Go to top of page  Spectral Resolution

To avoid having a complicated code that would automatically change the values in the input boxes following a possible change of the wavelength units, we adopted to use the resolving power instead of wavelength resolution. Thus, in the Resolution input box, the user is expected to enter the dimensionless value of the resolving power equal to the ratio of the wavelength to the full line width at half-maximum. The resolution is assumed to be constant in the entire wavelength range.

Go to top of page  Advanced Options

In the present version of the LIBS software, there are two advanced input options: the maximum ion charge and the minimum relative line intensity. These options are hidden by default, but can be displayed by clicking on the "Advanced Options" button.

The default option for maximum ion charge is '2+', meaning that only the spectra of neutral atoms, singly- and doubly-charged ions will be displayed in the LIBS plots. The user can select the values '3+', '4+', and 'no limit' from the drop-down list in the Advanced Options section. The last option means that there will be no limitation of the ion charge, except for the presence of lines of these ions in the selected wavelength range. Note that LIBS plots can use only those lines from the ASD data sets that have non-empty transition probability values.

The minimum relative intensity (default 0.01) is used to limit the selection of lines displayed in the LIBS plots to those having possible relative intensities within the given wavelength range not less than the given threshold value. The values of relative intensities are hardcoded in the ASD database. They have been calculated as maximum possible values in a reasonable range of electron temperatures (from 0.05 to 2 times the ionization energy of a given ion). When a LIBS query is executed, these relative intensities are renormalized for the wavelength range specified by the user. It should be kept in mind that, although LIBS plots allow the user to zoom in on small wavelength intervals (with a possible purpose of displaying weaker lines), the lines omitted in the initial query still cannot be displayed. To display those weak lines, the user must go back to the LIBS input form and select a narrower wavelength range and/or a lower value of the allowed minimum relative intensity. A zero value of the minimum intensity available in the drop-down list effectively removes this limitation on the number of lines, but the queries may become prohibitively slow for spectra having large numbers of lines.


Go to top of page   LIBS Output

The LIBS output consists of several interactive elements:

Go to top of page  The spectrum plot with active controls

The plot displays a synthetic spectrum calculated for the given mixture of chemical elements and plasma parameters (electron temperature and density) assuming the Saha-Boltzmann equilibrium and a constant (user-defined) spectral resolving power. The constant resolving power is equivalent to the assumption that the line shapes are entirely defined by Doppler broadening with a certain temperature. Thus, we refer to this plot as a Doppler-broadened plot. Alternatively, the user can choose to view a stick plot displaying vertical lines at the exact positions of all spectral lines involved, with heights defined by the calculated intensities.

The plots are drawn using the Google Line Charts technology. They have many interactive features, such as tooltip pop-up boxes with information about data points (appearing when mouse is hovered over the lines in the plot) and legends on the right side that can be clicked on to highlight a particular curve.

Depending on the screen size and resolution, the plot appears on the right side or below the Recalculate Form and the plot-control box, which are always shown on the left side at the top of the output window.

The legend on the right side of the plot lists the displayed spectra and shows relative concentrations of the corresponding ions for the given element abundances, electron temperature, and density.

The horizontal axis of the plot contains wavelengths in the units selected in the LIBS Input Form. If the stick plot is selected, the axis title is "Ritz wavelength" to reflect the nature of the displayed wavelengths. For a Doppler-broadened plot, the axis title is "Wavelength," since the displayed curves are calculated on a finite-step grid defined by the given Resolution. However, all underlying calculations are made with the same Ritz wavelengths as displayed in the stick plot.

The vertical axis contains the calculated line intensities in arbitrary units. Its scale is automatically adjusted when the user zooms in on a particular wavelength region.

Go to top of page  Zooming in and out of a wavelength region

To zoom in on a particular wavelength region, left-click with the mouse on the left side of the desired region of the plot and, while holding the left mouse button down, drag to the right side of the region, then release the mouse. To pan (i.e., return to the original view), right-click anywhere on the plot.

Go to top of page  Switching between stick and Doppler-broadened plots

To display a stick plot instead of a Doppler-broadened spectrum, check the checkbox on the left side of the "Show stick plot" label in the plot-control box below the "Recalculate" button.

The number of the displayed spectra decreases in the stick plot, as the "Sum" plot cannot be calculated in this mode. Consequently, the automatically-assigned colors of data points belonging to different spectra change compared to the Doppler-broadened spectrum.

To return back to the Doppler-broadened spectrum plot, uncheck the "Show stick plot" checkbox.

Go to top of page  Selecting data to display

The user can select one or more of the available spectra by using the "Select data to display" list in the plot-control box below the "Recalculate" button. To select one spectrum, click (with the mouse) on its name in the list. To select multiple spectra, press and hold the [Ctrl] key on the keyboard before clicking on each spectrum name or press and hold the [Shift] key before clicking on the first and last of the consecutive spectra in the list. Then release the keys.

Go to top of page  Viewing and saving data source tables

Below the plot, next to the "View Data Source" label, there are three buttons allowing the user to view the spectral-line data in one of the three formats: ASCII, CSV, and HTML. Clicking on one of these buttons will invoke a new window (or a new tab, depending on the browser settings) showing a table with multiple columns. The first column contains the wavelengths (Ritz wavelengths for a stick plot or the wavelength-grid points for a Doppler-broadened spectrum). All the other columns contain the calculated intensities, separately for each spectrum in the plot. For a Doppler-broadened spectrum, the first column next to the wavelengths, labeled "Sum(calc)," is the total spectrum calculated as a sum of the spectra of all atoms and ions in the mixture. If a User Spectrum File is uploaded to the plot, it is assumed to be an experimental spectrum, and a column labeled "Exp(user)" containing this spectrum data is inserted before the "Sum(calc)" column. In addition, a column labeled "Residual" is appended on the right. It contains the differences of experimental (from the user file) and calculated intensities.

Go to top of page  Displaying and saving the plot in a portable graphics format

Clicking on the button "Display PNG" below the plot invokes an image of the plot (in a portable graphics format) displayed in a separate browser window. The image can be saved or printed on the user's computer by using the browser controls.

Go to top of page  Loading a user spectrum file

A user spectrum file can be loaded to the plot by clicking on the "Select User Spectrum File" button below the plot-control box. As noted the introduction, no user data are transmitted anywhere outside the user's computer. All manipulations with the plot are made locally on the user's computer. Connection to the Internet is still required, because the Javascript code drawing the plot is located on Google Chart servers.

The user spectrum file must be an ASCII file in the usual format: two columns of numbers delimited by space. The first column is the wavelength, and the second is the observed intensity in arbitrary units. A sample user file can be viewed by clicking on the question mark on the right side of the button. The file may contain column headings or any other description information on the first line. The first line will be ignored by the LIBS code, if it cannot be interpreted as two numbers delimited by space. No blank lines are allowed in the middle or at the end of the user file.

When the user file gets loaded in the plot, the observed intensities are automatically normalized to match the scale of the calculated spectrum. The sum of residuals (observed minus calculated intensities) will be displayed inside the Recalculate Form, which can be useful in modeling: the user can minimize the sum of residuals by varying the plasma parameters.

If the wavelength range in the user file is narrower than in the initially calculated spectrum, the wavelength range of the plot will be reduced to match that of the user spectrum. This may cause some of the calculated spectra to be dropped from the plot, if all their lines were outside the user spectrum range.

Go to top of page  The Recalculate Form

The Form allows the user to modify the following parameters: The user should click the "Recalculate" button to redraw the plot with the modified parameters.

Go to top of page  Changing the wavelength resolution

As in the LIBS Input Form, the "Resolution" in the "Recalculate" Form means the dimensionless resolving power, i.e. the ratio of the wavelength to the full line width at half-maximum. The resolution is assumed to be constant in the entire wavelength range. When the initial plot is built by the NIST ASD server, there is a limitation on the maximum allowed resolution, which depends on the number of spectral lines involved in the user request. If the requested resolution exceeds the allowed limit, it will be automatically decreased to the maximum allowed value, and a warning about it will be displayed in fine print at the top of output page. This does not prevent the user from setting a higher Resolution in the "Recalculate" Form, because the limitation on the number of points in the wavelength grid on the user's computer is usually much milder. It is defined by the memory size accessible by the browser. High-resolution plots may work slower.

Go to top of ASD Help  ASD Data Table Output Link

This link is displayed at the very bottom of the output page. Clicking on it invokes a Lines output page of ASD listing detailed information about all the spectral lines involved in building the calculated spectrum.
[ASD Home][Lines Query][Levels Query][List of Spectra][Ground States and Ionization Energies] [Bibliography][Help] NIST Physical Measurement Laboratory