Robert L.
White
Department of Chemistry & Biochemistry, University of Oklahoma, Norman, OK 73019, USA. E-mail: rlwhite@ou.edu
First published on 20th March 2025
An infrared spectrum baseline matching procedure that compensates for measurement drift and eliminates sloping baselines from sequentially acquired spectra is described. The theory underlying this procedure is provided and examples are given for three implementations based on infrared spectrum data sets containing at least 100 successively measured spectra. Consecutive spectra were acquired when the infrared beam contained: no sample, poly(styrene) powder, and a poly(styrene) film. The first two data sets consisted of 120 spectra and were used to characterize instrument reproducibility and identify short- and long-term measurement drifts. The 200 infrared spectra obtained while heating and then cooling a poly(styrene) film were subjected to baseline matching to reveal subtle temperature-dependent changes that are not evident when overlayed spectra are displayed. Baseline matching preprocessing is easily implemented on large numbers of similar spectra by using macro programming.
Variable temperature infrared spectroscopy (VT-IR) is a perturbation analysis technique that employs temperature change as the stimulus and uses Fourier transform infrared (FTIR) spectroscopy for analysis.2,7 Infrared spectra are measured at different sample temperatures and molecular vibration band variations that correlate with temperature changes are identified. The reproducibility of this methodology is compromised when infrared spectra exhibit random baseline offsets and slopes. These spectrum artifacts reduce the accuracy of infrared vibration band absorbance measurements. Preprocessing data manipulation techniques that improve baseline reproducibility can be implemented to minimize these errors and improve perturbation spectroscopy results.8–15
The development of improved baseline correction methods continues to be an important research focus for spectroscopists. A wide variety of approaches have been proposed, ranging from simple polynomial function subtractions16 to sophisticated artificial intelligence techniques based on deep learning.17 Curve fitting methods require the selection of “baseline” anchor points and a polynomial function that can approximate the shape of the baseline to be removed.18 Multiscale analysis methods employ Fourier or Wavelet transformations to remove low frequency baseline variations while leaving higher frequency spectral information intact.10 Recently developed regression methods are often based on the popular penalty least squares (PLS) approach.19 Automatic baseline correction methods use the shape of the spectrum to remove offsets and slopes iteratively.20–22 These correction methods attempt to remove broad spectrum baseline distortions while leaving the narrow peak and band shape information unchanged.
The baseline matching approach described here is an alternative to baseline correction. Instead of attempting to identify the baseline function and remove it from the spectrum, the baseline matching process attempts to make all the baselines in a series of spectra similar. When applied to VT-IR studies, errors in infrared band absorbance measurements may still exist but will be consistent from one spectrum to the next. Thus, although plots showing molecular vibration band intensity and/or wavenumber trends as a function of sample temperature may contain offsets, the shapes of these graphs are preserved.
A Mattson Instruments Inc. (Madison, WI) Nova Cygni 120 Fourier transform infrared (FTIR) spectrophotometer and a Harrick Scientific Inc. (Pleasantville, NY) praying mantis diffuse reflection accessory were used for infrared spectroscopy measurements. The FTIR employed a water-cooled infrared radiation source and liquid nitrogen cooled MCT detector with a signal cutoff below 650 cm−1. Spectra were obtained over the 4000–700 cm−1 range by signal averaging 64 scans at 8 cm−1 resolution for both sample and background single beam measurements. Although all measurements were made at 8 cm−1 resolution, interferogram zero filling prior to Fourier transformation yielded a 0.97 cm−1 spectrum digitization interval. This spectral resolution was sufficient to accurately represent small changes in poly(styrene) absorbance bands and afforded greater spectral signal-to-noise ratio compared to higher resolution measurements.24 The apparatus and methodologies employed for variable temperature infrared spectrum measurements are described in detail elsewhere.25 Software employed for acquiring interferograms, recording sample temperatures, and performing baseline adjustments was written by using the Mattson Instruments macro programming language. The infrared spectrophotometer was purged with dry air to reduce artifacts caused by fluctuations in water vapor and carbon dioxide concentrations.
![]() | (1) |
This ratio yields values below 1 at wavenumbers where radiation is absorbed by the sample and equal to 1 at wavenumbers where the sample does not absorb (i.e. baseline). In practice, baseline wavenumbers may have values greater or less than 1 due to single beam spectrum intensity fluctuations. These baseline offsets can be attributed to instrumental measurement variability. FTIR measurement signal-to-noise ratio and reproducibility depend on the instrument configuration and component quality. The stabilities of the infrared radiation source, moving mirror translation mechanism, and the detector largely determine the interferogram measurement repeatability. The stability of the electronics employed for amplification and digitization may also impact the measurement reproducibility. These instrument-based single beam measurement variations are included in a more realistic expression for transmittance:
![]() | (2) |
A(ν)real = −log10T(ν)real = −log10T(ν)ideal − log10{I(ν)sample/I(ν)ref} | (3) |
If the −log10{I(ν)sample/I(ν)ref} function is known, it can be removed from A(ν)real to obtain a baseline corrected spectrum. The baseline correction methods included in commercial FTIR operating systems are provided to facilitate this process.
Successively acquired infrared spectrum measurements of the same sample that employ the same single beam reference spectrum (S(ν)ref) should yield identical T(ν)real results, except for baseline offsets and noise distributions. For example, Fig. 1a shows an overlay of two poly(styrene) infrared spectra computed by using the same reference single beam spectrum. These spectra overlap below 2000 cm−1 but exhibit different baseline offsets at higher wavenumbers. The green curve in Fig. 1b was obtained by subtracting the black spectrum in Fig. 1a from the green spectrum. Because the measured sample was identical, the green line represents differences in the baselines and noise distributions of the subtracted spectra.
Red lines in Fig. 1b represent three spectrum regions where baseline difference trends can be approximated by straight lines. The circles denote the wavenumbers representing the beginnings and ends of each red line segment. These lines span the: 4000 to 2400 cm−1, 2400 to 1200 cm−1, and 1200 to 700 cm−1 spectral ranges. The black line in Fig. 1b shows the result of subtracting the three red lines from the green difference spectrum. The result is a horizontal line near zero exhibiting the same random noise fluctuations as the green plot. As shown in Fig. 1c, adding this black line to the black spectrum in Fig. 1a results in a new green spectrum that retains the random noise distribution of the original but now has nearly the same baseline offsets as the black spectrum. Although the Fig. 1c plot appears to be a single green spectrum, it is in fact an overlay of the green “baseline matched” spectrum on top of the Fig. 1a black spectrum. It should be noted that this technique does not correct baseline distortions. Rather, it provides a means for adjusting the baseline of one spectrum (the green line in Fig. 1a) to better match the baseline of another spectrum (the black line in Fig. 1a).
![]() | ||
Fig. 2 Absorbance at 4000 cm−1 in baselines measured over a period of 60 min plotted as a function of acquired spectrum number. |
Fig. 3a shows the first acquired absorbance baseline (red) along with overlays of baselines obtained at 10 min intervals. These spectra exhibit similarities. They contain varying offsets from zero that increase at higher wavenumbers. A small absorbance band near 2350 cm−1 due to fluctuations in the purged sample compartment carbon dioxide concentration is present in these spectra. The fact that these peaks were consistently negative indicates that the carbon dioxide concentration was slowly decreasing over time.
Fig. 3b shows the results of removing baseline offsets relative to a single baseline anchor point. This was accomplished by subtracting the absorbance at the lowest wavenumber in each spectrum (700 cm−1) from all spectrum data points. This approach moved the baselines closer to zero and decreased the 4000 cm−1 absorbance range only slightly. Fig. 3c shows the result of applying the baseline matching procedure. The initial baseline spectrum (red line in Fig. 3a) remained the same and the other baselines were adjusted to better match the first one. As a result, the absorbance range for the baselines was greatly diminished when compared to the plots shown in Fig. 3a and b. Fig. 3d shows the result of applying the baseline matching process after first using the FTIR data system software to manually “correct” the initial baseline so that it appeared flat and near zero absorbance. This resulted in a clustering like that shown in Fig. 3c, but with horizontal baselines close to zero absorbance over the entire wavenumber range. This illustrates the advantage of beginning the baseline matching procedure with an appropriately baseline-corrected spectrum.
The Fig. 5c baseline adjusted differences show no obvious temperature-dependent absorbance band features because they were masked by larger random noise fluctuations. However, absorbance band changes were larger when spectra measured at greater temperature intervals were subtracted. The results of subtracting the initial (i.e. 20 °C) poly(styrene) film spectrum from the baseline matched spectra obtained at 10 °C (5 min) increments between 30 and 120 °C are shown in Fig. 6a. Numerous sharp baseline deviations that grew with increasing temperature difference can be discerned. These features occurred at wavenumbers associated with specific poly(styrene) vibration bands. Relative to the baseline, absorbance increased at some wavenumbers and decreased at others. An absorbance decrease that occurred next to a comparable absorbance increase represented an intensity shift from the decreasing to the increasing absorbance wavenumber. Thus, the derivative-like features between 2000 and 1400 cm−1 in Fig. 6a denote absorbance band shifts with temperature. The systematic absorbance variations revealed by the overlayed difference spectra were reversed when the sample was cooled, confirming that these spectrum changes were perturbation (i.e. temperature) dependent.25
Fig. 6b shows an overlay of the ambient temperature poly(styrene) powder difference spectra computed by subtracting the initial spectrum from baseline matched spectra acquired at 5 min intervals. The baseline noise exhibited by the Fig. 6a and b overlay plots were comparable. Some poly(styrene) absorbance band changes are evident in Fig. 6b, but they are much smaller than those in Fig. 6a. In contrast to Fig. 6a, the Fig. 6b deviations are primarily found at wavenumbers associated with high absorbance vibration bands. These fluctuations are likely due to detector sensitivity non-linearities, which would be more severe when detector signals were lower.27 This detector-dependent effect should also contribute to the Fig. 6a temperature-dependent variations. However, magnitudes of these sensitivity fluctuations would be less for the thin film measurements because maximum infrared band absorbances in measured spectra were about one-third of those in the powder sample spectra.
A comparison of poly(styrene) infrared spectrum properties characterizing functional group trends with temperature for C–H and C–C aromatic stretching vibrations in the powder spectra obtained over 60 min at ambient temperature and while heating and then cooling the thin layer sample are provided in Fig. 7. Blue plots represent changes in the integrated absorbance between 3150 and 2800 cm−1, where the C–H stretching vibration bands occur. Red plots denote wavenumber shifts associated with the ca. 1600 cm−1 band, which represents an aromatic ring C–C stretching vibration.
For the baseline matched ambient temperature poly(styrene) spectra, the integrated absorbance for the C–H stretching vibration bands decreased by about 1% between 5 and 20 min and then remained relatively constant. In contrast, the integrated absorbance rose by 7% in the baseline matched temperature perturbation spectra when the sample reached 120 °C. Cooling the sample back to 20 °C resulted in a gradual return to the initial band area, which confirmed that these changes were perturbation (i.e. temperature) dependent.
Fig. 6a contains several derivative-shaped features between 2000 and 1400 cm−1. One of the largest baseline deviations occurs near 1600 cm−1. The red plots in Fig. 7 represent peak maximum wavenumber shifts for this band in spectra obtained at ambient temperature and while heating and then cooling the sample. This band remained relatively constant over the entire 60 min ambient temperature period but exhibited red shifting (to lower wavenumber) when the polymer was heated. Like the C–H stretching vibration band region area, the C–C stretching band red shift was reversed when the sample cooled, confirming the perturbation dependence of this spectrum change.
This methodology differs from baseline correction and is only applicable to collections of spectra that contain few differences. Baseline matching will be difficult to implement when spectrum band shapes differ significantly. Like baseline correction methods based on polynomial subtractions, if the straight lines subtracted from spectra span a wavenumber range that is comparable to spectral feature widths, band shapes in that wavenumber range can be distorted. Short- and long-term measurement drifts in different FTIR instruments are likely to vary. Therefore, the straight line difference spectrum subtractions described here may not be applicable for all FTIR instruments.
When short- and long-term instrument drift can be distinguished from sample spectrum changes, these effects can be removed by using the simple baseline matching process described here. The linear segment subtractions used here could be improved by using more complicated functions for sloping baseline removal. In fact, some automatic baseline correction approaches may work well for this purpose.
Results described here show that broad baseline variations can be distinguished from narrower sample absorbance band changes when slow VT-IR heating and cooling rates are employed. With faster temperature change rates, successive spectrum subtractions will reveal both instrument-derived broad baseline variations and narrower sample absorbance band changes, making baseline adjustments more difficult. Thus, care should be taken to ensure that sufficiently small stimuli increments are applied during perturbation spectroscopy measurements so that the baseline matching process described here can be employed more easily.
This technique may improve measurement sensitivity in other situations where small changes in sequentially measured infrared spectra must be detected. Other potential applications include: monitoring time-dependent changes in a flowing liquid or gas stream, assembly line quality control of manufactured product compositions, or the application of other sample perturbations, such as: pressure changes, exposure to high energy radiation (i.e. γ-rays, x-rays, etc.), time-controlled exposure of a sample to reactive substances, or characterizing the long-term stability of a sample under static environmental conditions.
This journal is © The Royal Society of Chemistry 2025 |