How do I Perform Peak “Deconvolution”?

“Deconvolution” is a term often applied to the process of decomposing peaks that overlap with each other, thus extracting information about the “hidden peak”. Origin provides two tools to perform peak “deconvolution”, depending upon the existence of a baseline.

Peak_Convolution_Blog_01

We have put together an Origin Project (OPJ) that includes two folders: the Multiple Peak Fit Tool folder and Peak Analyzer folder. You can download this OPJ file (Peak_Deconvolution.zip, 22.7KB) to learn how to perform peak deconvolution.

In this blog post we will discuss how to:

  • Visually pick and fit peaks around chosen peak centers using the Multiple Peak Fit tool.
  • Detect the baseline and fit peaks while simultaneously fitting a baseline using the Peak Analyzer.

Multiple Peak Fit — No Baseline Involved

The use of the Multiple Peak Fit tool is simple and straightforward. It basically involves four steps:

  1. Go to the menu Analysis: Peaks and Baseline :Multiple Peak Fit to open a dialog.
  2. Select a function from Peak Function drop-down list for fitting and click OK to proceed to locate peaks.
  3. Point your mouse and double-click on the desired peak positions to add peaks.

Peak_Convolution_Blog_02

  1. Click the Fit button in the Get Points dialog to fit all specified peaks and the detailed results about each peak will be summarized in a table.

Peak_Convolution_Blog_03a

 Peak Analyzer — Baseline Involved

If the data comes with a non-constant baseline, the Peak Analyzer would be useful to detect the baseline. Later you can choose to subtract it or fit it while fitting the peaks. It generally involves two major steps:

  • Detect the baseline
  • Fit the Peaks

To open the Peak Analyzer wizard, you need to go to the menu Analysis:Peaks and Baseline: Peak Analyzer. When the wizard opens, a preview window is automatically generated in order to provide real-time monitoring of the fitting process. Set your Goal to Fit Peaks (Pro)(available in OriginPro) to initiate the process.

Detect the Baseline

Origin provides several options to allow automatic determination of the baseline, and allows for additional adjustment of the associated parameters where needed. Origin also offers an advanced baseline-creation mechanism to let users manually pick anchor points and subsequently interpolate or even fit them to make the baseline. In this section, I will show you how to:

  • Pick anchor points
  • Interpolate/Fit anchor points

Picking anchor points usually involves three steps:

  1. Select User Defined from the Baseline Mode drop-down list and you will see the auto-determined anchor points.
  2. Uncheck the Enable Auto Find checkbox to enable editing anchor points. Click the Modify/Del button to move existing anchor points to their proper positions or delete bad ones.
  3. Click the Add button and double-click desired positions on the curve to add more anchor points.

Peak_Convolution_Blog_06a

When the anchor points are determined, you can either connect them by interpolation or fit them.

To interpolate the anchor points, select Interpolation from Connect by drop-down list and choose a method from Interpolation Method.

To fit the anchor points, select Fitting(Pro) from the Connect by drop-down list and select a fitting function from the Function drop-down list under the Fitting node.

Peak_Convolution_Blog_07a

Fit the Peaks
  1. Click the Find button to find ordinary peaks.
  2. Uncheck the Enable Auto Find checkbox and click the Add button to manually pick missing peaks.
  3. Double-click on desired peak positions to add peaks and click Done.

Peak_Convolution_Blog_08

  1. Click the Fit button in the next page and the Finish button in the middle panel to fit. A report is generated with detailed information about the fitting and each peak.

Peak_Convolution_Blog_09

 

25 Comments on “How do I Perform Peak “Deconvolution”?”

  1. hello, I would like to fit a spectrum which contains several different peaks (e.g. some of them are Gaussian and some of them are Lorentzian) using “Multiple Peak Fit” tool. If no “Baseline” is involved, how should this be done because I could only select one of the fitting curve in the dialog ? Thank you.

    PS I am using OriginPro 2019

    1. Hello, Thanks for your question. This can be done using Peak Analyzer, which supports multiple peak functions within one dataset.
      The Multiple Peak Fit tool does not support that.

    1. Hello,

      Fit Peaks is an OriginPro feature.
      Could you check if this video helps?
      https://www.originlab.com/Index.aspx?go=Support/VideoTutorials&pid=1883
      There are also Tutorials which will help you follow step by step
      https://www.originlab.com/doc/Tutorials/Data-Analysis

      BTW, in our latest OriginPro 2019, there is an easier to use App
      https://www.originlab.com/fileExchange/details.aspx?fid=453
      Here is a video for it https://www.youtube.com/watch?v=wct86fmbPCw&feature=youtu.be

      Thanks, Snow

  2. I am using OriginPro 2015 but I do not get the same results for the second example. In fact, following the same steps and using exactrly the same number of points in the baseline and methods, the fit do not converge. The anchor points finding is the 2nd derivative, isn’t it? The interpolation method I use is BSpline to get a similar shape as your baseline. Nevertheless,this is not the same. Could you please tell me what could be wrong ? Thanks

    1. Hello,

      Are you using the data included in blog or your own data? If you are using your own data, could you send an opj with failed deconvolution to tech@originlab.com so we could take a look?

      Thanks, Snow

    2. In the second example, the baseline is obtained by connecting anchor points with a exponential decay function as described in the blog. If extracting baseline using interpolation with BSpline, the fitting is also converged. Can you email your opj to us via tech@originlab.com so that we can help you further.

  3. Hello, Origin 8.1 is very old so it may only have 3 functions for multiple peak fit. Please consider upgrading to the latest Origin which is more powerful.

    Thanks, Snow

  4. Hello… i’m using a old version and i have as parameters: chi^2, SS, COD, Corr Coef, degree of freedom. Using these parameters how can I decide if the fit was good? i’m fitting DRX spectra.

  5. this is a good method to deconvolute the TFIR spectra. But I meet a problem. I want to find 4 peaks, but every time I fit them, the last one would shift to a left position.

    1. Hello, is your goal set as Fit Peaks? Do you mean when finding peaks, it found the 4 peaks well, but after fitting, the 4th peak shifted to the left. On Find peaks page, there is a Fit Control button. U can open it and set a specific peak center to be fixed.

      Hope it helps!
      Thanks, Snow

    1. Hello, on Find Peaks tab, under Peak Finding Settings node, try to change method to 2nd Derivative or Residual after 1st Derivative which may find hidden peaks.

      Thanks, Snow

  6. Why my Origin 8.1 SR3 only displays Gauss, Lorentz and Voigt options in the Peak Function of Multiple Peak Fit menu. I would like to fit with a GaussMod function.
    Many thanks,
    Susana

    1. Hi Susana,

      Yes, we added more fitting functions in later versions. In 8.1, there are fewer functions to choose in the menu you mentioned.

      In your Origin 8.1, maybe you can try using Analysis: Fitting: Nonlinear Curve Fit. Then you have more functions to choose from Peak Functions category.
      On Settings -> Advanced tab, you can set Number of Replicas. E.g. set it to 3 (if there are 4 peaks to fit).

      Thanks, Snow

  7. I want to Deconvolute my RDF diagram by this methods but I have a problem with this methods, Can anybody help me to solve?
    33.3333 0
    100 0
    166.667 0
    233.333 0
    300 0
    366.667 0.03559
    433.333 0.38895
    500 1.08294
    566.667 1.43992
    633.333 1.60311
    700 1.40623
    766.667 1.09849
    833.333 0.98363
    900 0.95244
    966.667 0.88213
    1033.33 1.01571
    1100 0.94907
    1166.67 0.89953
    1233.33 1.00112
    1300 1.01694
    1366.67 0.99968
    1433.33 1.03108
    1500 1.01204
    1566.67 0.97513
    1633.33 1.04947
    1700 1.02044
    1766.67 1.00866
    1833.33 0.99222
    1900 0.99612
    1966.67 0.9853

    thanks for your kinds

    1. Hello,

      Could you let us know what you set in each step and which part failed?

      E.g. if you specified baseline and which type of baseline.
      How many peaks do you expect to find and how many was found.
      Is deconvolution successful?

      Thanks, Snow

  8. I find that it is very bad practice to mix the terminology of “peak fitting” and “deconvolution”, because deconvolution is a well defined mathematical operation which is not being applied here. So I applaude your putting this in quotation marks but would strongly suggest to avoid the terminology (like in the filename).

  9. i used this method for quantitative analysis and the results were verified by other methods. really interesting and simpler.

Leave a Reply to snow Cancel reply

Your email address will not be published. Required fields are marked *