An Automatic Baseline Correction Method Based on the Penalized Least Squares Method
Baseline drift spectra are used for quantitative and qualitative analysis, which can easily lead to inaccurate or even wrong results. Although there are several baseline correction methods based on penalized least squares, they all have one or more parameters that must be optimized by users. For thi...
Main Authors: | , , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2020-04-01
|
Series: | Sensors |
Subjects: | |
Online Access: | https://www.mdpi.com/1424-8220/20/7/2015 |
_version_ | 1797571488592691200 |
---|---|
author | Feng Zhang Xiaojun Tang Angxin Tong Bin Wang Jingwei Wang |
author_facet | Feng Zhang Xiaojun Tang Angxin Tong Bin Wang Jingwei Wang |
author_sort | Feng Zhang |
collection | DOAJ |
description | Baseline drift spectra are used for quantitative and qualitative analysis, which can easily lead to inaccurate or even wrong results. Although there are several baseline correction methods based on penalized least squares, they all have one or more parameters that must be optimized by users. For this purpose, an automatic baseline correction method based on penalized least squares is proposed in this paper. The algorithm first linearly expands the ends of the spectrum signal, and a Gaussian peak is added to the expanded range. Then, the whole spectrum is corrected by the adaptive smoothness parameter penalized least squares (asPLS) method, that is, by turning the smoothing parameter λ of asPLS to obtain a different root-mean-square error (RMSE) in the extended range, the optimal λ is selected with minimal RMSE. Finally, the baseline of the original signal is well estimated by asPLS with the optimal λ. The paper concludes with the experimental results on the simulated spectra and measured infrared spectra, demonstrating that the proposed method can automatically deal with different types of baseline drift. |
first_indexed | 2024-03-10T20:41:22Z |
format | Article |
id | doaj.art-ccf3a36689f74d9a88484ab1311ed1af |
institution | Directory Open Access Journal |
issn | 1424-8220 |
language | English |
last_indexed | 2024-03-10T20:41:22Z |
publishDate | 2020-04-01 |
publisher | MDPI AG |
record_format | Article |
series | Sensors |
spelling | doaj.art-ccf3a36689f74d9a88484ab1311ed1af2023-11-19T20:39:24ZengMDPI AGSensors1424-82202020-04-01207201510.3390/s20072015An Automatic Baseline Correction Method Based on the Penalized Least Squares MethodFeng Zhang0Xiaojun Tang1Angxin Tong2Bin Wang3Jingwei Wang4State Key Laboratory of Electrical Insulation & Power Equipment, Xi’an Jiaotong University, Xi’an 710049, ChinaState Key Laboratory of Electrical Insulation & Power Equipment, Xi’an Jiaotong University, Xi’an 710049, ChinaState Key Laboratory of Electrical Insulation & Power Equipment, Xi’an Jiaotong University, Xi’an 710049, ChinaState Key Laboratory of Electrical Insulation & Power Equipment, Xi’an Jiaotong University, Xi’an 710049, ChinaState Key Laboratory of Electrical Insulation & Power Equipment, Xi’an Jiaotong University, Xi’an 710049, ChinaBaseline drift spectra are used for quantitative and qualitative analysis, which can easily lead to inaccurate or even wrong results. Although there are several baseline correction methods based on penalized least squares, they all have one or more parameters that must be optimized by users. For this purpose, an automatic baseline correction method based on penalized least squares is proposed in this paper. The algorithm first linearly expands the ends of the spectrum signal, and a Gaussian peak is added to the expanded range. Then, the whole spectrum is corrected by the adaptive smoothness parameter penalized least squares (asPLS) method, that is, by turning the smoothing parameter λ of asPLS to obtain a different root-mean-square error (RMSE) in the extended range, the optimal λ is selected with minimal RMSE. Finally, the baseline of the original signal is well estimated by asPLS with the optimal λ. The paper concludes with the experimental results on the simulated spectra and measured infrared spectra, demonstrating that the proposed method can automatically deal with different types of baseline drift.https://www.mdpi.com/1424-8220/20/7/2015automated baseline correctioninfrared spectrapenalized least squares |
spellingShingle | Feng Zhang Xiaojun Tang Angxin Tong Bin Wang Jingwei Wang An Automatic Baseline Correction Method Based on the Penalized Least Squares Method Sensors automated baseline correction infrared spectra penalized least squares |
title | An Automatic Baseline Correction Method Based on the Penalized Least Squares Method |
title_full | An Automatic Baseline Correction Method Based on the Penalized Least Squares Method |
title_fullStr | An Automatic Baseline Correction Method Based on the Penalized Least Squares Method |
title_full_unstemmed | An Automatic Baseline Correction Method Based on the Penalized Least Squares Method |
title_short | An Automatic Baseline Correction Method Based on the Penalized Least Squares Method |
title_sort | automatic baseline correction method based on the penalized least squares method |
topic | automated baseline correction infrared spectra penalized least squares |
url | https://www.mdpi.com/1424-8220/20/7/2015 |
work_keys_str_mv | AT fengzhang anautomaticbaselinecorrectionmethodbasedonthepenalizedleastsquaresmethod AT xiaojuntang anautomaticbaselinecorrectionmethodbasedonthepenalizedleastsquaresmethod AT angxintong anautomaticbaselinecorrectionmethodbasedonthepenalizedleastsquaresmethod AT binwang anautomaticbaselinecorrectionmethodbasedonthepenalizedleastsquaresmethod AT jingweiwang anautomaticbaselinecorrectionmethodbasedonthepenalizedleastsquaresmethod AT fengzhang automaticbaselinecorrectionmethodbasedonthepenalizedleastsquaresmethod AT xiaojuntang automaticbaselinecorrectionmethodbasedonthepenalizedleastsquaresmethod AT angxintong automaticbaselinecorrectionmethodbasedonthepenalizedleastsquaresmethod AT binwang automaticbaselinecorrectionmethodbasedonthepenalizedleastsquaresmethod AT jingweiwang automaticbaselinecorrectionmethodbasedonthepenalizedleastsquaresmethod |