CN109738413B - Mixture Raman spectrum qualitative analysis method based on sparse nonnegative least square - Google Patents

Mixture Raman spectrum qualitative analysis method based on sparse nonnegative least square Download PDF

Info

Publication number
CN109738413B
CN109738413B CN201910015027.0A CN201910015027A CN109738413B CN 109738413 B CN109738413 B CN 109738413B CN 201910015027 A CN201910015027 A CN 201910015027A CN 109738413 B CN109738413 B CN 109738413B
Authority
CN
China
Prior art keywords
raman spectrum
detected
mixture
suspected
raman
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910015027.0A
Other languages
Chinese (zh)
Other versions
CN109738413A (en
Inventor
朱启兵
颜凡
黄敏
张恒
张丽文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zolix Instruments Co ltd
Jiangnan University
Original Assignee
Zolix Instruments Co ltd
Jiangnan University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zolix Instruments Co ltd, Jiangnan University filed Critical Zolix Instruments Co ltd
Priority to CN201910015027.0A priority Critical patent/CN109738413B/en
Publication of CN109738413A publication Critical patent/CN109738413A/en
Application granted granted Critical
Publication of CN109738413B publication Critical patent/CN109738413B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a mixture Raman spectrum qualitative detection method based on sparse nonnegative least square, relating to the Raman spectrum field, the method processes the Raman spectrum to be measured into column vectors with the same dimension as the Raman spectrum of each purified object in the Raman spectrum standard library, then, the suspected substance in the mixture to be tested is preliminarily screened out from the Raman spectrum standard library by solving a target function constructed by the Raman spectrum to be tested and the Raman spectrum standard library, and then calculating residual errors of the mixture to be detected and the suspected substance by a sparse non-negative least square method, sequentially calculating the significance difference of adjacent residual errors by adopting double-tail T test, and secondarily screening out pure substances contained in the mixture to be detected from the suspected substance based on the significance difference, so that the qualitative detection of the unknown mixture to be detected is realized, the accuracy is high, the operation is simple, and the method is quick and effective.

Description

Mixture Raman spectrum qualitative analysis method based on sparse nonnegative least square
Technical Field
The invention relates to the field of Raman spectroscopy, in particular to a mixture Raman spectrum qualitative analysis method based on sparse nonnegative least square.
Background
Over thirty years of development raman spectroscopy has become a powerful tool for qualitative and quantitative analysis, and raman spectroscopic analysis of mixtures is becoming increasingly popular due to the simplicity of its sampling method, which can be obtained directly from powders, liquids and even transparent containers.
In mixture analysis, the amount of information hidden in the spectral data consists of hundreds of points. To obtain basic information about the mixture, various chemometric, statistical and numerical methods have been developed to process the spectral data. The conventional method is to determine the composition of the mixture by matching the spectrum of the mixture with the spectrum of each pure substance sample in a standard library in turn by peak position and peak intensity. However, as the complexity of the mixture spectrum increases, overlapping peaks may occur, resulting in a substantial decrease in the spectral similarity of the mixture spectrum to its components, and the accuracy of detection of this method is greatly reduced as the number of pure species in the standard library increases.
Disclosure of Invention
The invention provides a mixture Raman spectrum qualitative analysis method based on sparse nonnegative least square aiming at the problems and the technical requirements, and the method is high in detection precision, rapid and effective.
The technical scheme of the invention is as follows:
a mixture Raman spectrum qualitative detection method based on sparse nonnegative least squares comprises the following steps:
establishing a Raman spectrum standard library of the purified substances, wherein the Raman spectrum standard library comprises Raman spectra of N purified substances, the Raman spectrum of each purified substance is a column vector with M dimensions, and M and N are positive integers;
acquiring a Raman spectrum of a mixture to be detected, and preprocessing the Raman spectrum to be detected to obtain the Raman spectrum to be detected, wherein the Raman spectrum to be detected is a column vector with M dimensions;
establishing a target function of f (X) | | AX-y | | + lambda | | | X | | ventilation according to the Raman spectrum standard library and the Raman spectrum to be detected1Wherein A represents a Raman spectrum standard library with M rows and N columns, y represents a Raman spectrum to be detected, lambda is a penalty factor in a target function, X is a coefficient vector and comprises N coefficients, the N coefficients form an N-dimensional column vector, and a coefficient X in XiCorresponding to the i pure substance, i is a form parameter, i is more than or equal to 1 and less than or equal to N, xiNot less than 0; minimizing the objective function to obtain a coefficient vector X;
screening suspected coefficients from N coefficients in the coefficient vector X obtained by solving based on a 2 delta criterion, and determining the purities corresponding to the suspected coefficients as suspected substances;
and performing least square matching on the Raman spectrum of each suspected substance and the Raman spectrum to be detected, and detecting the result of the least square matching through a double-tail T test, thereby screening out the pure substances contained in the mixture to be detected from each suspected substance.
The further technical scheme is that the method comprises the following steps of performing least square matching on the Raman spectrum of each suspected substance and the Raman spectrum to be detected, and detecting the result of the least square matching through a double-tail T test, so that purified substances contained in a mixture to be detected are screened out from the various suspected substances, and the method comprises the following steps:
arranging various suspected substances according to the sequence of the corresponding suspected coefficients from large to small to obtain a suspected substance sequence, wherein the suspected substance sequence comprises L pure substances in total, and L is a positive integer;
performing least square matching on the Raman spectrum of the 1 st pure object in the suspected substance sequence and the Raman spectrum to be detected, and calculating to obtain a 1 st residual error;
performing least square matching on the Raman spectrum of the first pure object in the suspected substance sequence and the Raman spectrum to be detected, and calculating to obtain the first residual error, wherein L is a parameter, L is less than or equal to L, and the initial value of L is 1;
detecting whether the l residual error and the l-1 residual error have significant difference through double-tail T test, wherein the 0 th residual error is defined as the Raman spectrum to be detected;
if the difference is significant, making l ═ l +1, and performing least square matching between the Raman spectrum of the first l purified substances in the suspected substance sequence and the Raman spectrum to be detected again, and calculating to obtain the first residual error;
and if the difference is not significant, determining that the mixture to be tested comprises the first l-1 purified substances in the suspected substance sequence.
The further technical scheme is that minimizing the objective function to obtain the coefficient vector X comprises processing the objective function into a corresponding augmented objective function as follows:
Figure GDA0002406897240000021
wherein t is a penalty factor in the augmented objective function, and the augmented objective function is solved iterativelyTo the coefficient vector X, the iterative solution process includes:
initializing the solution of a coefficient vector X as e, and obtaining a dual equation of the target function by a Lagrange multiplier method as L (X) ═ Ax-y2-2(Ax-y)Ty, determining the expression of the dual error as L (x) -f (x) according to the target function and the dual equation of the target function;
substituting the solution of the coefficient vector X into an expression of the dual error to calculate the dual error;
judging whether the calculated dual error is within a preset range or not, and outputting a solution of the coefficient vector X if the dual error is within the preset range;
and if the dual error exceeds the preset range, determining the iteration direction of the coefficient vector by a Newton method, determining the iteration step length by backtracking search, updating the solution of the coefficient vector X by using the iteration direction and the iteration step length, and performing the step of substituting the solution of the coefficient vector X into the expression of the dual error again by using the updated solution of the coefficient vector X to obtain the dual error.
The further technical scheme is that the method for screening out the suspected coefficients from N coefficients in the coefficient vector X obtained by solving based on the 2 delta criterion comprises the following steps:
calculating the mean and standard deviation of N coefficients in the coefficient vector X;
judging whether the N coefficients are in the range of (u-2 delta, u +2 delta), wherein u is a calculated mean value, and delta is a calculated standard deviation;
and determining each coefficient which is not in the range of (u-2 delta, u +2 delta) as a suspected coefficient.
The further technical scheme is that the establishment of a Raman spectrum standard library of the purified substance comprises the following steps:
collecting original Raman spectra of N purified substances by using a Raman spectrometer;
preprocessing the acquired original Raman spectrum, and interpolating and taking points by a linear interpolation method to obtain a processed original Raman spectrum, wherein the processed original Raman spectrum is an M-dimensional column vector;
and normalizing the processed original Raman spectrum by adopting a linear function to obtain the Raman spectrum of N purified substances, thereby establishing and obtaining a Raman spectrum standard library.
The method further adopts the technical scheme that the method for obtaining the Raman spectrum of the mixture to be detected and preprocessing the Raman spectrum to be detected comprises the following steps:
collecting a Raman spectrum of the mixture to be detected by using a Raman spectrometer;
preprocessing the collected Raman spectrum of the mixture to be detected, and interpolating and taking points by a linear interpolation method to obtain a processed Raman spectrum of the mixture to be detected, wherein the processed Raman spectrum of the mixture to be detected is an M-dimensional column vector;
and normalizing the processed Raman spectrum of the mixture to be detected by adopting a linear function to obtain the Raman spectrum to be detected.
The beneficial technical effects of the invention are as follows:
the application discloses a mixture Raman spectrum qualitative detection method based on sparse nonnegative least square, wherein a Raman spectrum to be detected is processed into column vectors with the same dimension as Raman spectra of various pure objects in a Raman spectrum standard library, suspected substances in the mixture to be detected are preliminarily screened out from the Raman spectrum standard library by solving a target function constructed by the Raman spectrum to be detected and the Raman spectrum standard library, residual errors of the mixture to be detected and the suspected substances are calculated by a sparse nonnegative least square method, the significance difference of adjacent residual errors is calculated sequentially by adopting double-tail T inspection, the pure objects in the mixture to be detected are screened out secondarily from the suspected substances based on the significance difference, the qualitative detection of an unknown mixture to be detected is realized, the accuracy is high, the operation is simple, and the method is quick and effective.
Drawings
Fig. 1 is a flowchart of a method for a mixture raman spectrum qualitative detection method based on sparse non-negative least squares disclosed in the present disclosure.
Detailed Description
The following further describes the embodiments of the present invention with reference to the drawings.
The application discloses a mixture Raman spectrum qualitative detection method based on sparse nonnegative least squares, which comprises the following steps, please refer to the flow chart of FIG. 1:
step S01, establishing a Raman spectrum standard library A of the purities, wherein the Raman spectrum standard library A comprises Raman spectra of N purities, N is a positive integer, and the value of N should be as large as possible to enrich the Raman spectrum standard library A so as to improve the detection coverage. The Raman spectrum of each pure substance is a column vector with M dimension, M is also a positive integer, and the value of M is determined according to the actual situation. The established Raman spectrum standard library A is in a matrix form of M rows and N columns, the Raman spectrum of the i-th purified substance is in the i-th column of the Raman spectrum standard library A, the sequence of various purified substances in the Raman spectrum standard library A is determined according to actual needs, the method is not limited in the application, i is a form parameter, i is more than or equal to 1 and less than or equal to N, and M row elements in the i-th column are the M-dimensional Raman spectrum of the i-th purified substance. The specific steps for establishing the Raman spectrum standard library A are as follows:
1. and collecting original Raman spectrums of the N pure substances by using a Raman spectrometer.
2. The acquired original raman spectrum is preprocessed, and the preprocessing process includes but is not limited to denoising and background removing, mainly for removing interference signals in the original raman spectrum, and the adopted method is the conventional method, and is not described in this application. And then interpolating and taking points by a linear interpolation method to obtain an M-dimensional column vector, namely the processed original Raman spectrum.
3. And normalizing the processed original Raman spectrum by adopting a linear function to obtain the Raman spectrum of N purified substances, thereby establishing and obtaining a Raman spectrum standard library A.
Step S02, obtaining the Raman spectrum of the mixture to be detected and preprocessing the Raman spectrum to be detected to obtain a Raman spectrum y to be detected, wherein the Raman spectrum y to be detected is a column vector with M dimension, and the specific steps of obtaining the Raman spectrum to be detected are similar to the steps S01 and specifically comprise the following steps:
1. and collecting the Raman spectrum of the mixture to be detected by using a Raman spectrometer.
2. And preprocessing the acquired Raman spectrum of the mixture to be detected, wherein the preprocessing process comprises but is not limited to denoising and background removing. And then interpolating and taking points by a linear interpolation method to obtain an M-dimensional column vector, namely the processed Raman spectrum of the mixture to be detected.
3. And normalizing the processed Raman spectrum of the mixture to be detected by adopting a linear function to obtain the Raman spectrum y to be detected.
Step S03, establishing a target function according to the Raman spectrum standard library and the Raman spectrum to be measured as follows: (X) | | AX-y | + lambda | | | X | | | non-woven hair1Wherein, X is a coefficient vector which is an N-dimensional column vector, the coefficient vector X comprises N coefficients, and the ith row in the coefficient vector is the ith coefficient XiCoefficient xiCorresponding to the i pure substance, and xiAnd more than or equal to 0, and the synchronization step S01, i is a form parameter, and i is more than or equal to 1 and less than or equal to N. Lambda is a punishment factor in the target function, the sparsity of the coefficient vector X is ensured, | | | | represents a two-norm, | | | | | | luminance1Representing a norm.
Minimizing the objective function to solve for the coefficient vector X, since directly solving for the objective function f (X) does not guarantee XiNot less than 0, so the augmented objective function obtained by adding a barrier logarithm function to the objective function f (x) is:
Figure GDA0002406897240000051
wherein t is a penalty factor in the augmented objective function. Then, iterative solution of the augmented objective function F (X) is carried out to obtain a coefficient vector X, and then X can be ensurediAnd the iterative solution process is greater than or equal to 0 and comprises the following steps:
1. initializing the solution of a coefficient vector X as e, and obtaining a dual equation of an objective function f (X) by a Lagrange multiplier method as L (X) ═ Ax-y2-2(Ax-y)Ty, the dual error is expressed as Δ L (x) -f (x) according to the target function f (x) and the dual equation L (x) of the target function.
2. And substituting the solution of the coefficient vector X into an expression of the dual error to calculate the dual error.
3. And judging whether the dual error obtained by calculation is within a preset range, wherein the preset range is configured according to actual needs, for example, in the application, the step is realized by judging whether the delta is less than or equal to 0.001. And if the dual error is within the preset range, the solution of the coefficient vector X is the optimal solution at the moment, and the solution of the coefficient vector X is output.
3. if the dual error exceeds the preset range, determining an iteration direction dX of the coefficient vector X by a Newton method, determining an iteration step α by backtracking search, updating the solution of the coefficient vector X to be X + alpha dX by using the iteration direction dX and the iteration step length alpha, and executing the step 2 again by using the updated solution of the coefficient vector X for repeated iteration until an optimal solution is found.
Step S04, based on the 2 δ criterion, screening out suspected coefficients from N coefficients in the solved coefficient vector X, specifically:
1. the mean u and standard deviation δ of the N coefficients in the coefficient vector X are calculated.
2. It is determined whether the N coefficients are within the range of (u-2 δ, u +2 δ).
3. If the coefficients are distributed in the range of (u-2 delta, u +2 delta), determining the coefficients as incoherent coefficients; if the coefficient is not in the range of (u-2 δ, u +2 δ), the coefficient is a pseudo coefficient.
And determining that the purified matter corresponding to the incoherent coefficient is an incoherent substance, determining that the purified matter corresponding to the suspected coefficient is a suspected substance, and preliminarily screening out the purified matter contained in the mixture to be tested from the Raman spectrum standard library A.
And step S05, performing least square matching on the Raman spectra of the various suspected substances and the Raman spectrum to be detected, and detecting the result of the least square matching through a two-tail T test, thereby secondarily screening the purified substances contained in the mixture to be detected from the various suspected substances. Specifically, the method comprises the following steps:
1. arranging various suspected substances according to the sequence of the corresponding suspected coefficients from large to small to obtain a suspected substance sequence, wherein the suspected substance sequence comprises L pure substances in total, L is a positive integer, and the suspected substance sequence can be expressed as phi1,φ2,……φL
2. Performing least square matching by using the Raman spectrum of the first pure object in the suspected substance sequence and the Raman spectrum to be detected, and calculating the first residual error as epsilonl=y-φ1kl12kl2-…-φlkllL is a parameter, L is less than or equal to LAnd l has an initial value of 1, where kl1The Raman spectrum of the first pure object is subjected to least square matching with the Raman spectrum phi of the 1 st pure object when the Raman spectrum of the first pure object is subjected to least square matching with the Raman spectrum to be detected1Corresponding matching coefficient, kl2The Raman spectrum of the first pure object is subjected to least square matching with the Raman spectrum phi of the second pure object when the Raman spectrum of the first pure object is subjected to least square matching with the Raman spectrum to be detected2Corresponding matching coefficient, kllThe Raman spectrum of the first pure object is subjected to least square matching with the Raman spectrum phi of the first pure object when the Raman spectrum of the first pure object is subjected to least square matching with the Raman spectrum to be detectedlCorresponding matching coefficients, and the rest not shown are analogized in turn, and the calculated residual is a column vector of M dimensions.
3. Detection of the l-th residual ε by two-tailed T testlAnd the l-1 th residual error epsilonl-1Whether there is a significant difference between them. The detection of significant differences is an existing method, and the principle is not described in the present application, where the step is implemented to detect two sets of residuals epsilonlAnd εl-1Whether or not the P value of (c) satisfies P (ε)ll-1)>0.1。
4. If P (ε)ll-1) Less than or equal to 0.1, the first residual error epsilon is representedlAnd the l-1 th residual error epsilonl-1If there is a significant difference, let l ═ l +1 and perform step 2 again for iterative computation.
5. If P (ε)ll-1)>0.1, then the l-th residual εlAnd the l-1 th residual error epsilonl-1The mixture to be detected does not have significant difference, at the moment, the calculation is stopped, and the first l-1 pure substances in the suspected substance sequence are determined to be contained in the mixture to be detected, so that the qualitative detection of the mixture to be detected is realized.
In the above iteration, if the initial value of l is 1, the Raman spectrum phi of the 1 st pure object in the suspected substance sequence is used1Performing least square matching with the Raman spectrum y to be measured, and calculating to obtain the 1 st residual error as epsilon1=y-φ1k11Wherein k is11Raman spectrum phi of the 1 st pure substance1And matching coefficient when performing least square matching with the Raman spectrum y to be detected. Define the 0 th residual ε0To be measured in RamanSpectrum y, then whether P (epsilon) is satisfied or not is detected10)>0.1. If not, let l be 2, and use the Raman spectrum phi of the first 2 purified substances in the suspected substance sequence1And phi2Performing least square matching with the Raman spectrum y to be measured, and calculating to obtain the 2 nd residual error as epsilon2=y-φ1k212k22Again, whether P (epsilon) is satisfied is detected21)>0.1, and so on, and continuously iterating and circulating.
The qualitative detection method disclosed in the present application is presented more intuitively in the following example, in which the mixture to be detected is a mixed solution of ethanol and diethyl malonate. Collecting original Raman spectra of 520 purified substances, preprocessing the original Raman spectra, unifying the preprocessed Raman spectra into 1760-dimensional column vectors, and establishing and obtaining a Raman spectrum standard library A1760×520. Collecting the Raman spectrum of the mixture to be measured, adjusting the Raman spectrum to be 1760-dimensional column vector after pretreatment, and obtaining the Raman spectrum y to be measured1760×1. The suspected substance in the mixture to be tested screened out in the above steps S01-S04 and the corresponding coefficient are shown in the following table, in which the coefficient xiThe subscript i of (a) indicates the corresponding pure substance in the Raman spectroscopy standard library A1760×520Column i of (1), each pure in Raman spectroscopy standard library A1760×520The number of columns in (1) is merely an arbitrary example and has no special meaning:
pure substance Coefficient xi Pure substance Coefficient xi
Ethylene glycol Ether x20=0.099348 N-butyric acid x170=0.072523
Ethanol x58=0.298552 Ethylene glycol x400=0.070585
Dioxane (dioxane) x62=0.045283 Malonic acid diethyl ester x500=0.220215
The suspected substance is arranged according to the sequence of the coefficients from big to small to obtain the suspected substance sequence as follows:
pure substance Coefficient xi
φ1 Ethanol x58=0.298552
φ2 Malonic acid diethyl ester x500=0.220215
φ3 Ethylene glycol Ether x20=0.099348
φ4 N-butyric acid x170=0.072523
φ5 Ethylene glycol x400=0.070585
φ6 Dioxane (dioxane) x62=0.045283
Sequentially obtaining residual errors epsilon according to the sequence of the suspected substance1~ε6The result of performing a two-tailed T-test to obtain a P value is as follows, due to the residual ε1~ε6Only the median value of the calculated P value, and therefore the application does not show the result of the residual error in detail:
Figure GDA0002406897240000071
Figure GDA0002406897240000081
due to P (epsilon)10)≤0.1,P(ε21)≤0.1,P(ε32)>0.1, it was thus determined that the mixture to be tested contained the first 2 purities of the sequence of suspected substances, i.e., ethanol and diethyl malonateAnd the detection result is correct, and the accuracy of the method disclosed by the application can reach 95.83% after the actual measurement test, which indicates that the method disclosed by the application is very effective.
What has been described above is only a preferred embodiment of the present application, and the present invention is not limited to the above embodiment. It is to be understood that other modifications and variations directly derivable or suggested by those skilled in the art without departing from the spirit and concept of the present invention are to be considered as included within the scope of the present invention.

Claims (4)

1. A mixture Raman spectrum qualitative detection method based on sparse nonnegative least squares is characterized by comprising the following steps:
establishing a Raman spectrum standard library of the purified substances, wherein the Raman spectrum standard library comprises Raman spectrums of N purified substances, the Raman spectrum of each purified substance is a column vector with M dimension, and M and N are positive integers;
acquiring a Raman spectrum of a mixture to be detected, and preprocessing the Raman spectrum to be detected to obtain the Raman spectrum to be detected, wherein the Raman spectrum to be detected is a column vector with M dimensions;
establishing a target function of f (X) | | AX-y | | + lambda | | | X | | as the non-woven hair according to the Raman spectrum standard library and the Raman spectrum to be detected1Wherein A represents a Raman spectrum standard library with M rows and N columns, y represents the Raman spectrum to be detected, lambda is a penalty factor in the objective function, X is a coefficient vector and comprises N coefficients, the N coefficients form an N-dimensional column vector, and a coefficient X in XiCorresponding to the i pure substance, i is a form parameter, i is more than or equal to 1 and less than or equal to N, xiNot less than 0; minimizing the objective function to obtain the coefficient vector X, including: processing the objective function into a corresponding augmented objective function as:
Figure FDA0002406897230000011
wherein t is a penalty factor in the augmented objective function, the augmented objective function is iteratively solved to obtain the coefficient vector X, and the iterative solving process comprises the following steps: initializing the solution of the coefficient vector X as e, and obtaining the target function by a Lagrange multiplier methodThe dual equation of (a) is L (x) ═ Ax-y2-2(Ax-y)Ty, determining the expression of a dual error as L (x) -f (x) according to the target function and a dual equation of the target function; substituting the solution of the coefficient vector X into the expression of the dual error to calculate the dual error; judging whether the dual error obtained by calculation is within a preset range, and if the dual error is within the preset range, outputting a solution of the coefficient vector X; if the dual error exceeds the preset range, determining the iteration direction of a coefficient vector through a Newton method, determining the iteration step length through backtracking search, updating the solution of the coefficient vector X by using the iteration direction and the iteration step length, and performing the step of substituting the solution of the coefficient vector X into the expression of the dual error again by using the updated solution of the coefficient vector X to obtain the dual error;
screening suspected coefficients from N coefficients in the coefficient vector X obtained by solving based on a 2 delta criterion, and determining the purified substances corresponding to the suspected coefficients as suspected substances;
performing least square matching on the Raman spectrum of each suspected substance and the Raman spectrum to be tested, and testing the result of the least square matching through a two-tail T test, so as to screen out a purified substance included in the mixture to be tested from each suspected substance, wherein the method comprises the following steps: arranging various suspected substances according to the sequence of the corresponding suspected coefficients from large to small to obtain a suspected substance sequence, wherein the suspected substance sequence comprises L pure substances in total, and L is a positive integer; performing least square matching on the Raman spectrum of the first L purified substances in the suspected substance sequence and the Raman spectrum to be detected, and calculating to obtain the first residual error, wherein L is a parameter, L is less than or equal to L, and the initial value of L is 1; detecting whether the l residual error and the l-1 residual error have significant difference through double-tail T test, wherein the 0 th residual error is defined as the Raman spectrum to be detected; if the difference is significant, making l +1 and performing the step of performing least square matching on the Raman spectrum of the first l purified substances in the suspected substance sequence and the Raman spectrum to be detected again and calculating to obtain the first residual error; and if the difference is not significant, determining that the mixture to be tested comprises the first l-1 purified substances in the suspected substance sequence.
2. The method of claim 1, wherein the step of screening the suspected coefficients from the N coefficients in the solved coefficient vector X based on a 2 δ criterion comprises:
calculating the mean and standard deviation of the N coefficients in the coefficient vector X;
judging whether the N coefficients are in a (u-2 delta, u +2 delta) range or not, wherein u is the calculated mean value, and delta is the calculated standard deviation;
and determining each coefficient which is not in the range of (u-2 delta, u +2 delta) as a suspected coefficient.
3. The method of claim 1 or 2, wherein the establishing of the standard library of raman spectra of the purities comprises:
collecting original Raman spectra of the N purified substances by using a Raman spectrometer;
preprocessing the acquired original Raman spectrum, and interpolating and taking points by a linear interpolation method to obtain a processed original Raman spectrum, wherein the processed original Raman spectrum is an M-dimensional column vector;
and normalizing the processed original Raman spectrum by adopting a linear function to obtain the Raman spectrum of the N purified substances, thereby establishing and obtaining the Raman spectrum standard library.
4. The method according to claim 1 or 2, wherein the obtaining and preprocessing the raman spectrum of the mixture to be measured to obtain the raman spectrum to be measured comprises:
collecting a Raman spectrum of the mixture to be detected by using a Raman spectrometer;
preprocessing the collected Raman spectrum of the mixture to be detected, and interpolating and taking points by a linear interpolation method to obtain a processed Raman spectrum of the mixture to be detected, wherein the processed Raman spectrum of the mixture to be detected is an M-dimensional column vector;
and normalizing the processed Raman spectrum of the mixture to be detected by adopting a linear function to obtain the Raman spectrum to be detected.
CN201910015027.0A 2019-01-08 2019-01-08 Mixture Raman spectrum qualitative analysis method based on sparse nonnegative least square Active CN109738413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910015027.0A CN109738413B (en) 2019-01-08 2019-01-08 Mixture Raman spectrum qualitative analysis method based on sparse nonnegative least square

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910015027.0A CN109738413B (en) 2019-01-08 2019-01-08 Mixture Raman spectrum qualitative analysis method based on sparse nonnegative least square

Publications (2)

Publication Number Publication Date
CN109738413A CN109738413A (en) 2019-05-10
CN109738413B true CN109738413B (en) 2020-06-02

Family

ID=66363904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910015027.0A Active CN109738413B (en) 2019-01-08 2019-01-08 Mixture Raman spectrum qualitative analysis method based on sparse nonnegative least square

Country Status (1)

Country Link
CN (1) CN109738413B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110243806B (en) * 2019-07-30 2020-05-22 江南大学 Mixture component identification method based on similarity under Raman spectrum
CN111189817B (en) * 2020-01-09 2021-09-03 中国原子能科学研究院 Laser-induced breakdown spectroscopy true and false signal resolution data analysis method
US11614408B2 (en) 2020-05-19 2023-03-28 Jiangnan University Method for improving identification accuracy of mixture components by using known mixture Raman spectrum
CN111504979B (en) * 2020-05-19 2021-03-16 江南大学 Method for improving mixture component identification precision by using Raman spectrum of known mixture
CN113298171A (en) * 2021-06-09 2021-08-24 深圳网联光仪科技有限公司 Method, device, equipment and storage medium for identifying substance components
CN113252641B (en) * 2021-06-11 2021-10-08 北京卓立汉光分析仪器有限公司 Substance identification method based on residual analysis under Raman spectrum

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102270241A (en) * 2011-08-16 2011-12-07 浙江大学 Image retrieving method based on sparse nonnegative matrix factorization
CN108398416A (en) * 2018-01-30 2018-08-14 上海化工研究院有限公司 A kind of mix ingredients assay method based on laser Raman spectroscopy
CN108428237A (en) * 2018-02-07 2018-08-21 西北大学 Approximate EO-1 hyperion polychrome cultural relics line original text extracting method is owed based on sparse nonnegative matrix
CN108844939A (en) * 2018-03-14 2018-11-20 西安电子科技大学 Raman spectrum based on asymmetric weighted least-squares detects baseline correction method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8442772B2 (en) * 2009-08-23 2013-05-14 Jeanne F. Loring Compositions and methods for defining cells

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102270241A (en) * 2011-08-16 2011-12-07 浙江大学 Image retrieving method based on sparse nonnegative matrix factorization
CN108398416A (en) * 2018-01-30 2018-08-14 上海化工研究院有限公司 A kind of mix ingredients assay method based on laser Raman spectroscopy
CN108428237A (en) * 2018-02-07 2018-08-21 西北大学 Approximate EO-1 hyperion polychrome cultural relics line original text extracting method is owed based on sparse nonnegative matrix
CN108844939A (en) * 2018-03-14 2018-11-20 西安电子科技大学 Raman spectrum based on asymmetric weighted least-squares detects baseline correction method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于稀疏非负最小二乘编码的高光谱遥感数据分类方法》;齐永锋等;《农业机械学报》;20160731;全文 *

Also Published As

Publication number Publication date
CN109738413A (en) 2019-05-10

Similar Documents

Publication Publication Date Title
CN109738413B (en) Mixture Raman spectrum qualitative analysis method based on sparse nonnegative least square
Bacon et al. The muse hubble ultra deep field survey-i. survey description, data reduction, and source detection
US4802102A (en) Baseline correction for chromatography
Katajamaa et al. Data processing for mass spectrometry-based metabolomics
CA2501003C (en) Sample analysis to provide characterization data
US20050251349A1 (en) Method and apparatus for analyzing multi-channel chromatogram
CN107860845B (en) Method for automatically analyzing GC-MS overlapped peaks to accurately identify compounds
US8927925B2 (en) Interactive method for identifying ions from mass spectral data
Mostacci et al. Multivariate denoising methods combining wavelets and principal component analysis for mass spectrometry data
JP6748085B2 (en) Interference detection and peak deconvolution of interest
CN112418072A (en) Data processing method, data processing device, computer equipment and storage medium
Nagai et al. An initial estimation method using cosine similarity for multivariate curve resolution: application to NMR spectra of chemical mixtures
Fan et al. A reconstruction algorithm based on sparse representation for Raman signal processing under high background noise
CN116380869A (en) Raman spectrum denoising method based on self-adaptive sparse decomposition
Wu et al. A hybrid retention time alignment algorithm for SWATH‐MS data
CN116399836A (en) Cross-talk fluorescence spectrum decomposition method based on alternating gradient descent algorithm
CN108414475B (en) LIBS analysis method based on optical chromatography simultaneous iterative reconstruction
CN110836878B (en) Convolution interpolation coupling Gaussian mixture model rapid three-dimensional fluorescence peak searching method
EP4022268A1 (en) Spectroscopic apparatus and methods for determining components present in a sample
Omidikia et al. Bilinear model factor decomposition: A general mixture analysis tool
Ammanouil et al. GLUP: Yet another algorithm for blind unmixing of hyperspectral data
Delaney et al. Statistical prediction of file searching results for vapor phase infrared spectrometric identification of gas chromatographic peaks
CN108444981B (en) LIBS quantitative solving method based on MART multiplicative reconstruction
US20230335221A1 (en) Data-analyzing method, data-analyzing device, and sample analyzer
EP4102509A1 (en) Method and apparatus for identifying molecular species in a mass spectrum

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant