CN112161966A - Method and device for separating Raman spectrum of sample containing fluorescence spectrum - Google Patents

Method and device for separating Raman spectrum of sample containing fluorescence spectrum Download PDF

Info

Publication number
CN112161966A
CN112161966A CN202011049495.9A CN202011049495A CN112161966A CN 112161966 A CN112161966 A CN 112161966A CN 202011049495 A CN202011049495 A CN 202011049495A CN 112161966 A CN112161966 A CN 112161966A
Authority
CN
China
Prior art keywords
spectrum
sample
raman
fluorescence
separating
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.)
Granted
Application number
CN202011049495.9A
Other languages
Chinese (zh)
Other versions
CN112161966B (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.)
Changchun Institute of Optics Fine Mechanics and Physics of CAS
Original Assignee
Changchun Institute of Optics Fine Mechanics and Physics of CAS
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 Changchun Institute of Optics Fine Mechanics and Physics of CAS filed Critical Changchun Institute of Optics Fine Mechanics and Physics of CAS
Priority to CN202011049495.9A priority Critical patent/CN112161966B/en
Publication of CN112161966A publication Critical patent/CN112161966A/en
Application granted granted Critical
Publication of CN112161966B publication Critical patent/CN112161966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/62Systems in which the material investigated is excited whereby it emits light or causes a change in wavelength of the incident light
    • G01N21/63Systems in which the material investigated is excited whereby it emits light or causes a change in wavelength of the incident light optically excited
    • G01N21/65Raman scattering
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J3/00Spectrometry; Spectrophotometry; Monochromators; Measuring colours
    • G01J3/28Investigating the spectrum
    • G01J3/44Raman spectrometry; Scattering spectrometry ; Fluorescence spectrometry
    • G01J3/4406Fluorescence spectrometry

Landscapes

  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating, Analyzing Materials By Fluorescence Or Luminescence (AREA)

Abstract

The invention provides a method and a device for separating a Raman spectrum of a sample containing a fluorescence spectrum, wherein the method comprises the following steps: extracting sample points from the spectrum Y at equal intervals according to a set sampling interval i; carrying out interpolation fitting on each extracted sample point by adopting a spline curve; and then spectrum YiAnd spectrum Yi‑1Each corresponding data point is compared until spectrum YiAnd spectrum Yi‑1All the data points are correspondingly equal, and the sampling interval i at the moment is recorded; smoothing the spectrum Y by adopting an SG filter to obtain the spectrum Yj(ii) a Will YjAnd Yj‑1Comparing the data points at the corresponding positions, if YjIs not equal to Yj‑1Then the minimum value of the two is taken to form a new YjSequentially increasing the size of j, repeating the smoothing process until the size of j reaches a set size value, and recording Y at the momentj(ii) a And then obtaining a final Raman spectrum R of the sample to be detected by adopting the following formula: r ═ Y-Yj. The rapid separation of the Raman fingerprint spectrum R and the fluorescence spectrum F can be realized by the method.

Description

Method and device for separating Raman spectrum of sample containing fluorescence spectrum
Technical Field
The invention relates to the field of sample Raman spectrum processing, in particular to a method and a device for separating a sample Raman spectrum containing a fluorescence spectrum.
Background
The spontaneous Raman spectrum is widely applied to the field of medical diagnosis, the Raman spectrum based on the molecular vibration characteristic can detect the change of molecular components in the canceration process of cells, and the accurate and quick identification of cancer cells can be realized through statistical analysis. Compared with surface enhanced Raman, spontaneous Raman spectroscopy has higher repeatability and is more suitable for establishing a cancer diagnosis standard library. In addition, the spontaneous Raman spectrum has the advantages of no label, no damage, low cost and the like, and has important clinical application value.
However, the raman spectrum of clinical biological samples usually contains irrelevant information such as fluorescence spectrum, substrate raman spectrum, etc., which makes the raman spectrum for measuring biomolecules more difficult to identify and has a significant impact on the subsequent statistical analysis. The measured spectrum is usually considered as a linear superposition of the biological raman spectrum and the base spectrum. Since the common substrate spectrum (e.g. glass, quartz, etc.) is doped with a narrow spectral component similar to the raman spectrum, it becomes very difficult to separate the raman spectrum from the doped spectrum.
The methods adopted at present mainly comprise a method for solving multivariate minimum values and an Extended Multivariate Signal Correction (EMSC) algorithm. In both methods, the measured base spectrum is used as a reference, and then the superposition coefficient of the base reference spectrum and the polynomial fluorescence background is estimated. And therefore the result is usually affected by the initial coefficients and the order of the predetermined polynomial, which seriously affects the speed and accuracy of the calculation. The method for solving the multivariate minimum value needs to preset a polynomial to simulate the fluorescence background, the selection of the polynomial order can greatly influence the result, and the method for solving the multivariate minimum value is a method for iteratively searching the optimal solution, and the setting of the initial value can greatly influence the calculation speed and the result. The extended multivariate signal correction algorithm is a linear fitting method, which needs to preset a polynomial background spectrum, needs to measure the spectral line of a biological sample to be measured under the influence of no substrate spectrum in advance, and then performs linear fitting on the polynomial background spectral line, the biological spectral line without the substrate and the substrate reference spectral line, so as to estimate the superposition coefficient of each spectral line in the biological Raman spectrum containing the substrate, and finally realizes the linear separation of the Raman spectrum and the doping spectrum. The detection of the biological sample to be detected without the substrate spectrum causes the method to need to establish a huge reference database, and the complicated process causes the method to be not beneficial to clinical popularization and application.
Disclosure of Invention
The present invention is directed to provide a technical solution for separating a raman spectrum of a sample containing a fluorescence spectrum, so as to solve the problems of complicated steps and low accuracy of the existing separation method.
The object of the invention can be achieved by the following technical measures:
in a first aspect of the invention, there is provided a method of separating a raman spectrum of a sample containing a fluorescence spectrum, the method comprising the steps of:
s101, extracting sample points from the spectrum Y at equal intervals according to a set sampling interval i; the spectrum Y comprises a fluorescence spectrum and a Raman spectrum;
s102: interpolation fitting is carried out on each extracted sample point by adopting a spline curve, and spectrum Y is obtained after fittingiThe length is consistent with the spectrum Y;
s103: will spectrum YiAnd spectrum Yi-1Each corresponding data point is compared if YiIs not equal to Yi-1Then the minimum value of the two is taken to form a new YiAnd the sampling interval is set to i + 1; wherein, spectrum Yi-1The corresponding initial data is the same as the data point size of the corresponding position in the spectrum Y; the data points include extracted sample points and interpolated points interpolated between adjacent sample points according to step S102;
to resumeExecuting steps S101 to S103 until spectrum YiAnd spectrum Yi-1If all the data points are equal, the process proceeds to step S104: when Y isi=Yi-1Recording the sampling interval i at the moment;
step S105: smoothing the spectrum Y by adopting an SG filter to obtain the spectrum Yj
Step S106: will YjAnd Yj-1Comparing the data points at the corresponding positions, if YjIs not equal to Yj-1Then the minimum value of the two is taken to form a new YjSequentially increasing the size of j;
repeating steps S105 and S106, wherein when steps S105 and S106 are repeatedly executed, the spectrum Y processed by SG filter in step S105 is changed to Y at the timejUntil the step S107 is entered: when the size of j reaches the set value, recording Y at the momentj(ii) a The set size value is determined according to the sampling interval i recorded in the step S104;
s108: and obtaining a final Raman spectrum R of the sample to be detected by adopting the following formula: r ═ Y-Yj
Further, if the initial value of the sampling interval i is set to 2 in step S101, Y is set in step S1031=Y。
Further, step S102 includes: carrying out interpolation fitting on each extracted sample point by adopting a cubic spline curve to obtain a fitting spectrum YiSaid fitted spectrum YiThe length is consistent with spectrum Y.
Further, step S104 further includes: when Y isi=Yi-1At this time, the fitted spectrum Y at this time was recordedi
Further, the SG filter has an order of 0 and a width of 2 × j +1, where j is an initial value of 2.
Further, the "sequentially increasing the size of j" in step S106 specifically includes: the original j is assigned as j + 1.
Further, the set size value in step S107 is i/2, where i is the maximum interval between the local minimum values recorded in step S104.
Further, the spectrum Y is a spectral line including a fluorescence spectrum and a raman spectrum, which is left after the doping spectrum is removed.
Further, the doping spectrum is a substrate spectrum corresponding to a bearing substrate, and the bearing substrate is used for bearing the sample to be tested.
The second aspect of the present application also provides a separation device for raman spectra of a sample containing fluorescence spectra, the device comprising means for performing the method according to the first aspect of the present application.
In contrast to the prior art, the present invention provides a method and apparatus for separating a raman spectrum of a sample containing a fluorescence spectrum, the method comprising the steps of: s101, extracting sample points from the spectrum Y at equal intervals according to a set sampling interval i; s102: carrying out interpolation fitting on each extracted sample point by adopting a spline curve; s103: will spectrum YiAnd spectrum Yi-1Each corresponding data point is compared if YiIs not equal to Yi-1Then the minimum value of the two is taken to form a new YiAnd the sampling interval is set to i + 1; re-executing steps S101 to S103 until spectrum YiAnd spectrum Yi-1If all the data points are equal, the process proceeds to step S104: when Y isi=Yi-1Recording the sampling interval i at the moment; step S105: smoothing the spectrum Y by adopting an SG filter to obtain the spectrum Yj(ii) a Step S106: will YjAnd Yj-1Comparing the data points at the corresponding positions, if YjIs not equal to Yj-1Then the minimum value of the two is taken to form a new YjSequentially increasing the size of j; repeating steps S105 and S106 until the process proceeds to step S107: when the size of j reaches the set value, recording Y at the momentj(ii) a S108: and obtaining a final Raman spectrum R of the sample to be detected by adopting the following formula: r ═ Y-Yj
Through the steps, the real Raman fingerprint spectrum R in the sample to be detected and the fluorescence spectrum F of the sample to be detected can be quickly separated, and compared with the traditional mode of removing the fluorescence spectrum by adopting a polynomial algorithm and a wavelet transform algorithm, the accuracy is effectively improved.
Drawings
FIG. 1 is a flow chart of a method of separating a Raman spectrum of a sample containing a dopant spectrum according to the present invention;
FIG. 2 is a flow chart of a method of separating fluorescence spectra according to the present invention;
FIG. 3 is a diagram of the difference in scale of the base spectrum, Raman spectrum, fluorescence spectrum and their relationship to the wavelet scale involved in the present invention;
FIG. 4 is a schematic overall flow chart of the separation of the substrate spectrum, the Raman spectrum and the fluorescence spectrum according to the present invention;
fig. 5 is a flowchart of a method for separating a raman spectrum of a sample containing a fluorescence spectrum according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In order to make the description of the present disclosure more complete and complete, the following description is given for illustrative purposes with respect to the embodiments and examples of the present invention; it is not intended to be the only form in which the embodiments of the invention may be practiced or utilized. The embodiments are intended to cover the features of the various embodiments as well as the method steps and sequences for constructing and operating the embodiments. However, other embodiments may be utilized to achieve the same or equivalent functions and step sequences.
As shown in fig. 5, a flow chart of a method for separating a raman spectrum of a sample containing a fluorescence spectrum according to a first aspect of the present application is provided, where the method includes the following steps:
s101, extracting sample points from the spectrum Y at equal intervals according to a set sampling interval i; the spectrum Y comprises a fluorescence spectrum and a Raman spectrum. Preferably, the initial value of the sampling interval i in step S101 is set to 2.
S102: extracted by spline curveInterpolation fitting is carried out on each sample point, and spectrum Y is obtained after fittingiThe length is consistent with spectrum Y. In the present embodiment, in step S102, interpolation fitting is performed on each extracted sample point using a cubic spline curve. Cubic Spline Interpolation (Spline Interpolation) is abbreviated as Spline Interpolation, and is a process of obtaining a curve function set mathematically by solving a three-bending moment equation set through a smooth curve of a series of shape value points.
S103: will spectrum YiAnd spectrum Yi-1Each corresponding data point is compared if YiIs not equal to Yi-1Then the minimum value of the two is taken to form a new YiAnd the sampling interval is set to i + 1; wherein, spectrum Yi-1The corresponding initial data is the same as the data point size of the corresponding position in the spectrum Y; the data points include the extracted sample points and interpolated points interpolated between adjacent sample points according to step S102. Preferably, Y is determined in step S1031=Y。
Re-executing steps S101 to S103 until spectrum YiAnd spectrum Yi-1If all the data points are equal, the process proceeds to step S104: when Y isi=Yi-1Then, the sampling interval i at that time is recorded. The obtained i is the maximum interval between the local minimum values of the spectrum.
Step S105: smoothing the spectrum Y by adopting an SG filter to obtain the spectrum Yj. Preferably, the SG filter has an order of 0 and a width of 2 × j +1, where j is an initial value of 2.
Step S106: will YjAnd Yj-1Comparing the data points at the corresponding positions, if YjIs not equal to Yj-1Then the minimum value of the two is taken to form a new YjAnd sequentially increases the size of j. Preferably, the "sequentially increasing the size of j" in step S106 specifically includes: the original j is assigned as j + 1.
Repeating steps S105 and S106, wherein when steps S105 and S106 are repeatedly executed, the spectrum Y processed by SG filter in step S105 is changed to Y at the timejUntil the step S107 is entered: the size of j reaches the set valueWhen the value is small, Y at that time is recordedj(ii) a The set size value is determined according to the sampling interval i recorded in step S104. Preferably, the set size value in step S107 is i/2.
S108: and obtaining a final Raman spectrum R of the sample to be detected by adopting the following formula: r ═ Y-Yj
In other embodiments, step S104 further comprises: when Y isi=Yi-1At this time, the fitted spectrum Y at this time was recordedi. Fitted spectral line YiThe final Yi can also be used as a fluorescence estimation result, which is very close to the result estimated by the SG filter, but in the processing of the biological sample, the result obtained by using the SG filter is generally considered to be smoother and closer to a true level, and thus is more suitable for raman spectrum processing of the biological sample.
In certain embodiments, the spectrum Y is a spectral line including a fluorescence spectrum and a raman spectrum remaining after the doping spectrum is removed. The doping spectrum is a substrate spectrum corresponding to a bearing substrate, and the bearing substrate is used for bearing the sample to be tested.
In a second aspect, the present application provides a separation device for raman spectra of a sample containing fluorescence spectra, the device comprising means for performing a method as described in the first aspect of the present application. Preferably, the apparatus according to the second aspect of the present application comprises a computer storage medium, which stores a readable computer program, which when executed by a processor implements the method according to the third aspect of the present application. The computer storage medium is an electronic component with a data storage function, and includes but is not limited to: RAM, ROM, magnetic disk, magnetic tape, optical disk, flash memory, U disk, removable hard disk, memory card, memory stick, etc.
At present, the raman spectrum S of a medically common biological sample mainly includes the following parts: the true raman fingerprint spectrum R, the bioluminescence spectrum F and the substrate spectrum G of the biological component are not transformed due to the uniform stability of the substrate, and thus the substrate spectrum can be further expressed as the product of the reference spectrum G of the substrate and a scaling factor c. Specifically, it can be expressed by formula (1):
s ═ R + F + c ═ g formula (1)
According to the spectral characteristics, the glass signal not only contains a broad spectrum signal close to a fluorescent background, but also contains narrow spectrum information of a Raman signal. It is therefore very difficult to decompose the three unknown spectra simultaneously, the best method being to convert the problem into a superposition of the two spectra by reducing the variables. For this reason, we introduce fast wavelet transform based on multi-resolution analysis, which is a common method for removing fluorescence background in Raman spectrum without substrate. The difference in scale of the three spectra (base spectrum, raman spectrum, fluorescence spectrum) and their relationship to the wavelet scale are shown in fig. 3. According to the scale difference between the Raman spectrum and the fluorescence background, when the number n of the decomposition layers reaches a certain value, the last layer of wavelet approximation coefficient is set to zero to obtain a Raman spectrum line with almost eliminated fluorescence. The one-dimensional wavelet of the spectrum can be represented by equation (2):
Figure BDA0002709111560000071
in the formula (2), t is a horizontal coordinate of the spectrum, i.e., a Raman frequency shift, k represents a position coordinate of the function in the transverse direction, j determines the width of the function, j0Representing any starting scale, aj0(k) Is an approximation or scale coefficient, dj(k) Detail or wavelet coefficients, ψ is a basic wavelet or mother wavelet,
Figure BDA0002709111560000072
is a parent wavelet or scale function.
When we apply this method directly to the clinical sample raman line, not only will the fluorescence background be eliminated but also part of the substrate signal will be affected due to the influence of part of the substrate signal that is close to the fluorescence background scale. The remaining spectrum contains only the authentic Raman fingerprint R and partial glass of the biological componentGlass Raman spectrum signal GpThe two signals satisfy a linear superposition relationship, as shown in formula (3):
Figure BDA0002709111560000073
in equation (3), subscripts R and pg represent the true raman spectrum and the partial glass raman spectrum, respectively. It can be seen that we can estimate the coefficient c of the glass spectrum by decomposing the original raman spectrum and the reference spectrum on a specific n layer, extracting all the spectral components with the number of decomposed layers smaller than n, and then performing linear fitting on the two extracted spectra.
To this end, as shown in fig. 1, the third aspect of the present application provides a method for separating a raman spectrum of a sample containing a dopant spectrum, the method comprising the steps of:
the process first proceeds to step S1: and acquiring a Raman spectrum S and a plurality of doping spectrums of the sample to be detected.
The doping spectrum refers to all stable interference spectral lines which are not influenced by the sample to be detected and doped in the Raman spectrum of the sample. Further, in this embodiment, the doping spectrum is a substrate spectrum corresponding to a carrying substrate, and the carrying substrate is used for carrying the sample to be tested. The material of the bearing substrate can be glass, quartz and the like. Acquiring a plurality of doping spectra comprises: substrate spectra are recorded for a plurality of locations of the carrier substrate.
Then, the process proceeds to step S2: and normalizing the plurality of doping spectra to obtain a reference spectrum g.
Taking the doping spectrum as the base spectrum as an example, step S2 includes: and calculating the mean value of the spectrum of the substrate at a plurality of positions of the bearing substrate, and taking the calculated mean value as a reference spectrum g.
Then, the process proceeds to step S3: decomposing the Raman spectrum S and the reference spectrum g by adopting rapid wavelet transformation, and setting the approximate coefficient of the nth layer of the two decomposed spectrums as zero; and n is the number of decomposition layers.
In the present embodiment, the wavelet basis of the wavelet transform is "Sym 11", and the number of decomposition layers n is 8. Of course, in other embodiments, the wavelet basis and the number n of decomposition layers used in the wavelet transform may be adjusted according to actual needs.
Then, the process proceeds to step S4: wavelet reconstruction is performed on the two spectra processed in step S3, resulting in a first reconstructed spectrum S1 and a second reconstructed spectrum g 1. The first reconstructed spectrum S1 is a spectrum obtained by decomposing and then reconstructing the raman spectrum S, and the second reconstructed spectrum g1 is a spectrum obtained by decomposing and then reconstructing the reference spectrum g.
Then, the process proceeds to step S5: and performing linear fitting on the first reconstruction spectrum S1 and the second reconstruction spectrum g1 to obtain a superposition coefficient c corresponding to the doping spectrum. Specifically, the calculation of the superposition coefficient c may be calculated with reference to formula (3).
Then, the process proceeds to step S6: calculating by adopting the following formula to obtain a spectrum Y without a doping spectrum: y-c g. Specifically, the spectrum Y without the substrate spectrum can be obtained by subtracting the reference spectrum g with the coefficient c from the original raman spectrum S.
In certain embodiments, after step S1, the method further includes: and denoising the Raman spectrum S and each doped spectrum. The denoising process may be wavelet denoising, which is assisted by removing the noise in the raman spectrum S and each of the doped spectra (e.g., the base spectrum), so as to facilitate the subsequent processing of the two spectra.
The fourth aspect of the present application also provides a separation apparatus for raman spectroscopy of a sample containing a dopant spectrum, the apparatus comprising means for performing a method as described in the third aspect of the present application. Preferably, the apparatus according to the fourth aspect of the present application comprises a computer storage medium, which stores a readable computer program, which when executed by a processor implements the method according to the third aspect of the present application. The computer storage medium is an electronic component with a data storage function, and includes but is not limited to: RAM, ROM, magnetic disk, magnetic tape, optical disk, flash memory, U disk, removable hard disk, memory card, memory stick, etc.
The spectrum Y from which the substrate spectrum is removed includes only the fluorescence spectrum and the raman spectrum of the biological sample. An automated smoothing algorithm is also proposed in the present application in order to remove the fluorescence spectrum. The method is based on a zero-order SG filter (namely a Savitzky-Golay filter), and the width required to be set when the zero-order SG filter is smoothed is estimated through cubic spline curve interpolation fitting, specifically, as shown in figure 2, the method for separating the fluorescence spectrum comprises the following steps:
the process first proceeds to step S7: extracting sample points from the spectrum Y at equal intervals according to a set sampling interval; the initial value of the sampling interval i is set to 2. Spectrum Y is spectrum Y with the base spectrum removed.
Then, the process proceeds to step S8: interpolation fitting is carried out on each sample point by adopting a spline curve, and a spectral line Y after fittingiThe length is consistent with spectrum Y. Preferably, in this embodiment, a cubic spline curve is used to perform interpolation fitting on each sample point. Cubic Spline Interpolation (Spline Interpolation) is abbreviated as Spline Interpolation, and is a process of obtaining a curve function set mathematically by solving a three-bending moment equation set through a smooth curve of a series of shape value points.
Then, the process proceeds to step S9: will YiAnd Yi-1Each corresponding data point is compared if YiIs not equal to Yi-1Then the minimum value of the two is taken to form a new YiAnd the sampling interval is set to i + 1; wherein, Y1Y; the data points include sample points and interpolation points. The interpolation point is a point interpolated between adjacent sample points in step S8.
Re-executing steps S7 to S9 until YiAnd Yi-1If all the data points are equal, the process proceeds to step S10: when Y isi=Yi-1At that time, the sampling interval i and the fitted line Y at that time are recordedi. The sampling interval i obtained at this time is the maximum interval between local minima.
Fitted spectral line YiIn order to determine the width of the stop window of the SG filter, an intermediate product is fitted by a spline curve (such as a cubic spline curve), and the finally obtained Yi can also be used as a fluorescenceThe estimation result is very close to the estimation result by using the SG filter, but in the processing of the biological sample, the result obtained by using the SG filter is generally considered to be smoother, closer to a true level and more suitable for the raman spectrum processing of the biological sample.
Step S11: smoothing the spectrum Y by adopting an SG filter to obtain the spectrum Yj(ii) a The SG filter has an order of 0 and a width of 2 × j +1, where j is initially 2. The spectrum Y refers to a spectrum obtained after removing the base spectrum from the original spectrum.
Step S12: will YjAnd Yj-1Comparing the data points at the corresponding positions, if YjIs not equal to Yj-1Then the minimum value of the two is taken to form a new YjAnd sequentially increasing the size of j, specifically: the original j is assigned as j + 1.
Repeating steps S11 and S12, wherein the spectrum Y processed by SG filter in step S11 is changed to Y at this timejUntil step S13: when the size of j reaches the set value, recording Y at the momentj. In this embodiment, the set magnitude is i/2, where i is the maximum interval between local minima.
S13: and obtaining a final Raman spectrum R of the sample to be detected by adopting the following formula: r ═ Y-Yj
Through the calculation of the steps, the real Raman fingerprint spectrum R, the biological fluorescence spectrum F and the substrate spectrum G of the biological components in the Raman spectrum of the clinical biological sample can be quickly separated. The calculation flow of the whole process is shown in fig. 3.
The application provides a special scale analysis method (such as a method shown in figure 1) based on wavelet transformation, which realizes the extraction and separation of a substrate spectrum in spontaneous Raman spectrum of a common biological sample in clinic by simultaneously carrying out scale extraction and comparison on an original sample Raman spectrum and a reference spectrum. Meanwhile, a method for acquiring the width parameter 'frame' when the zero-order SG filter is used for fluorescence spectrum background estimation is also provided (such as the method shown in figure 2).
The beneficial effect of this application is as follows:
1. the method adopting the scale analysis can effectively avoid the influence of the fluorescence spectrum in the clinical biological sample, so that a polynomial does not need to be set to replace the fluorescence background to reduce parameters when the superposition problem of three spectra is processed. Therefore, the performability and the accuracy of the method are greatly improved; compared with an Extended Multivariate Signal Correction (EMSC) algorithm, the method does not need to obtain a sample spectrum without a substrate in advance for reference, greatly reduces the difficulty in the actual operation process, greatly saves the time, and is favorable for the application and popularization of the Raman spectrum in clinical rapid diagnosis.
2. The fluorescence spectrum removing method with the zero-order SG filter realizes automation of a traditional manual method, the method combines a common SG smoothing filter with a manual point-finding fitting method, the fluorescence background can be quickly obtained from the Raman spectrum, and compared with a traditional polynomial algorithm and wavelet transformation fluorescence removing method, the method can obtain the fluorescence background more accurately.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A method for separating raman spectra of a sample containing fluorescence spectra, the method comprising the steps of:
s101, extracting sample points from the spectrum Y at equal intervals according to a set sampling interval i; the spectrum Y comprises a fluorescence spectrum and a Raman spectrum;
s102: interpolation fitting is carried out on each extracted sample point by adopting a spline curve, and spectrum Y is obtained after fittingiThe length is consistent with the spectrum Y;
s103: will spectrum YiAnd spectrum Yi-1Each corresponding data point is compared if YiIs not equal to Yi-1Then the minimum value of the two is taken to form a new YiAnd the sampling interval is set to i + 1; wherein the content of the first and second substances,spectrum Yi-1The corresponding initial data is the same as the data point size of the corresponding position in the spectrum Y; the data points include extracted sample points and interpolated points interpolated between adjacent sample points according to step S102;
re-executing steps S101 to S103 until spectrum YiAnd spectrum Yi-1If all the data points are equal, the process proceeds to step S104: when Y isi=Yi-1Recording the sampling interval i at the moment;
step S105: smoothing the spectrum Y by adopting an SG filter to obtain the spectrum Yj
Step S106: will YjAnd Yj-1Comparing the data points at the corresponding positions, if YjIs not equal to Yj-1Then the minimum value of the two is taken to form a new YjSequentially increasing the size of j;
repeating steps S105 and S106, wherein when steps S105 and S106 are repeatedly executed, the spectrum Y processed by SG filter in step S105 is changed to Y at the timejUntil the step S107 is entered: when the size of j reaches the set value, recording Y at the momentj
S108: and obtaining a final Raman spectrum R of the sample to be detected by adopting the following formula: r ═ Y-Yj
2. The method for separating a raman spectrum of a sample of a fluorescence spectrum according to claim 1, wherein if the initial value of the sampling interval i is set to 2 in step S101, Y is set to 2 in step S1031=Y。
3. The method for separating a sample raman spectrum of a fluorescence spectrum according to claim 1, wherein the step S102 includes: carrying out interpolation fitting on each extracted sample point by adopting a cubic spline curve to obtain a fitting spectrum YiSaid fitted spectrum YiThe length is consistent with spectrum Y.
4. The method for separating Raman spectrum of a sample having fluorescence spectrum according to claim 1, wherein the Raman spectrum is separated from the sampleCharacterized in that step S104 further comprises: when Y isi=Yi-1At this time, the fitted spectrum Y at this time was recordedi
5. The method of separating a sample raman spectrum of a fluorescence spectrum according to claim 1, wherein the SG filter has an order of 0 and a width of 2 × j +1, wherein j is an initial value of 2.
6. The method for separating a sample raman spectrum of a fluorescence spectrum according to claim 5, wherein the "sequentially increasing the size of j" in step S106 specifically includes: the original j is assigned as j + 1.
7. The method for separating a sample raman spectrum of a fluorescence spectrum according to claim 1, wherein the set magnitude value in step S107 is i/2, where i is the maximum interval between the local minima recorded in step S104.
8. The method for separating a raman spectrum of a sample of a fluorescence spectrum according to any one of claims 1 to 7, wherein the spectrum Y is a spectrum including the fluorescence spectrum and the raman spectrum remaining after removing the doping spectrum.
9. The method for separating a sample raman spectrum of a fluorescence spectrum according to claim 8, wherein the doping spectrum is a substrate spectrum corresponding to a supporting substrate, and the supporting substrate is used for supporting the sample to be measured.
10. A separation device for raman spectra of a sample containing fluorescence spectra, characterized in that it comprises means for carrying out the method according to any one of claims 1 to 9.
CN202011049495.9A 2020-09-29 2020-09-29 Method and device for separating Raman spectrum of sample containing fluorescence spectrum Active CN112161966B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011049495.9A CN112161966B (en) 2020-09-29 2020-09-29 Method and device for separating Raman spectrum of sample containing fluorescence spectrum

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011049495.9A CN112161966B (en) 2020-09-29 2020-09-29 Method and device for separating Raman spectrum of sample containing fluorescence spectrum

Publications (2)

Publication Number Publication Date
CN112161966A true CN112161966A (en) 2021-01-01
CN112161966B CN112161966B (en) 2021-08-10

Family

ID=73860613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011049495.9A Active CN112161966B (en) 2020-09-29 2020-09-29 Method and device for separating Raman spectrum of sample containing fluorescence spectrum

Country Status (1)

Country Link
CN (1) CN112161966B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007071606A (en) * 2005-09-05 2007-03-22 Olympus Medical Systems Corp Observation apparatus of raman scattering light
CN103217409A (en) * 2013-03-22 2013-07-24 重庆绿色智能技术研究院 Raman spectral preprocessing method
US20150009495A1 (en) * 2013-07-02 2015-01-08 Macau University Of Science And Technology Method of Generating Raman Laser for Inducing Fluorescence of Pyrene and A System Thereof
CN107831157A (en) * 2017-10-24 2018-03-23 西安电子科技大学 Based on the Raman spectrum fluorescence background subtraction method except spectrum
CN109270045A (en) * 2018-08-10 2019-01-25 东北大学 A kind of rapid fluorescence background suppression method for Raman spectrum
CN109459424A (en) * 2018-12-06 2019-03-12 浙江大学 A kind of diesel oil Raman spectrum fluorescence elimination method
CN109993155A (en) * 2019-04-23 2019-07-09 北京理工大学 For the characteristic peak extracting method of low signal-to-noise ratio uv raman spectroscopy
CN209784193U (en) * 2018-12-06 2019-12-13 深圳网联光仪科技有限公司 Equipment capable of measuring Raman spectrum of substance under strong fluorescence background
CN110658174A (en) * 2019-08-27 2020-01-07 厦门谱识科仪有限公司 Intelligent identification method and system based on surface enhanced Raman spectrum detection
CN110658178A (en) * 2019-09-29 2020-01-07 江苏拉曼医疗设备有限公司 Fluorescence background subtraction method for Raman spectrum

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007071606A (en) * 2005-09-05 2007-03-22 Olympus Medical Systems Corp Observation apparatus of raman scattering light
CN103217409A (en) * 2013-03-22 2013-07-24 重庆绿色智能技术研究院 Raman spectral preprocessing method
US20150009495A1 (en) * 2013-07-02 2015-01-08 Macau University Of Science And Technology Method of Generating Raman Laser for Inducing Fluorescence of Pyrene and A System Thereof
CN107831157A (en) * 2017-10-24 2018-03-23 西安电子科技大学 Based on the Raman spectrum fluorescence background subtraction method except spectrum
CN109270045A (en) * 2018-08-10 2019-01-25 东北大学 A kind of rapid fluorescence background suppression method for Raman spectrum
CN109459424A (en) * 2018-12-06 2019-03-12 浙江大学 A kind of diesel oil Raman spectrum fluorescence elimination method
CN209784193U (en) * 2018-12-06 2019-12-13 深圳网联光仪科技有限公司 Equipment capable of measuring Raman spectrum of substance under strong fluorescence background
CN109993155A (en) * 2019-04-23 2019-07-09 北京理工大学 For the characteristic peak extracting method of low signal-to-noise ratio uv raman spectroscopy
CN110658174A (en) * 2019-08-27 2020-01-07 厦门谱识科仪有限公司 Intelligent identification method and system based on surface enhanced Raman spectrum detection
CN110658178A (en) * 2019-09-29 2020-01-07 江苏拉曼医疗设备有限公司 Fluorescence background subtraction method for Raman spectrum

Also Published As

Publication number Publication date
CN112161966B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
Yang et al. Comparison of public peak detection algorithms for MALDI mass spectrometry data analysis
US11493447B2 (en) Method for removing background from spectrogram, method of identifying substances through Raman spectrogram, and electronic apparatus
CN111504979B (en) Method for improving mixture component identification precision by using Raman spectrum of known mixture
JP6091493B2 (en) Spectroscopic apparatus and spectroscopy for determining the components present in a sample
US11614408B2 (en) Method for improving identification accuracy of mixture components by using known mixture Raman spectrum
CN105279379B (en) Tera-hertz spectra feature extracting method based on convex combination Kernel principal component analysis
CN113109317B (en) Raman spectrum quantitative analysis method and system based on background subtraction extraction peak area
CN110763913B (en) Derivative spectrum smoothing processing method based on signal segmentation classification
WO2015096779A1 (en) Raman spectrum detection method
CN112200770A (en) Tumor detection method based on Raman spectrum and convolutional neural network
CN109374568B (en) Sample identification method using terahertz time-domain spectroscopy
WO2018103541A1 (en) Raman spectrum detection method and electronic apparatus for removing solvent perturbation
JPH11148865A (en) Method for processing and correcting two-dimensional spectrum data
CN112161966B (en) Method and device for separating Raman spectrum of sample containing fluorescence spectrum
TWI428581B (en) Method for identifying spectrum
CN109270045A (en) A kind of rapid fluorescence background suppression method for Raman spectrum
CN112213295A (en) Method and device for separating Raman spectrum of sample containing doped spectrum
Antoniadis et al. Peaks detection and alignment for mass spectrometry data
CN110836878B (en) Convolution interpolation coupling Gaussian mixture model rapid three-dimensional fluorescence peak searching method
CN109145403B (en) Near infrared spectrum modeling method based on sample consensus
CN111337452A (en) Method for verifying feasibility of spectral data model transfer algorithm
CN104932863B (en) A kind of higher-dimension exponential signal Supplementing Data method
CN116380869A (en) Raman spectrum denoising method based on self-adaptive sparse decomposition
CN115541563A (en) Element quantitative analysis method based on laser-induced breakdown spectroscopy
CN114428063A (en) Pollution layer spectral data identification method and device, electronic equipment and storage medium

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