File Exchange > Data Analysis >    Peak Deconvolution

OriginLab Technical Support
Date Added:
Last Update:
Downloads (90 Days):
Total Ratings:
File Size:
1518 KB
Average Rating:
File Name:
Peak Decon...on.opx
File Version:
Minimum Versions:

Offer an intuitive and interactive interface to perform peak analysis.

Screen Shot and Video:

  • Purpose
    This app is capable of performing peak analysis intuitively and interactively. It is able to define baseline, then detect the peaks, and fit peaks.
  • Installation
    Download the file "Peak Deconvolution.opx", and then drag-and-drop onto the Origin workspace. An icon will appear in the Apps gallery window.
  • Operation
    Click a worksheet with XY data to make it active, and then click the app icon to bring up the dialog. Then you can customize baseline, find peaks and fit peaks, intuitively and interactively.

Dialog Settings:

  • Top Preview Panel: By default, it only shows the source data plot, baseline plot and the fitted plot. You can also toggle two buttons to show/hide 2nd derivative plot and residual plot respectively. These two buttons are described in Bottom Right Panel below.
  • Bottom Left Panel
    • Baseline Tab: Please refer to Baseline Mode.
      • Subtract Baseline & Close: Subtract baseline, output the subtracted data and baseline data, and then close dialog.
    • Peaks Tab: Please refer to Find Peaks.
      • Allow Auto Peak Fit If Less Than: If the found peaks are less than this specified value, it will do peak fit (parameter initialization) automatically. If the found peaks are greater or equal to this value, you need to use Init Fit button to initialize parameter if you want to.
      • Re-find Peak for Each Dataset in Batch: If checked, it would re-find peak based on current peak finding settings for each dataset when performing batch fitting.
      • Init Fit: Do peak fit initialization.
      • Peak Finding Settings:
      • Find Peak & Close: Find peak for current data, report the result and close dialog.
    • Save/Load Tab
      • Save Settings: Save the settings as file.
      • Load Settings: Load settings from file.
      • Delete Settings: Delete settings file.
  • Bottom Right Panel
    • Buttons in the Top of Panel (From Left to Right):
      • Show/hide the 2nd derivative plot.
      • Show/hide the residual plot.
      • Tune each peak individually. When clicking this button, it goes to the mode for tuning each peak individually, then you can change each peak's position and width.
      • Show/hide peak marker.
      • Change the content of peak label. By default, the peak's X value is shown as label, you can click this button to change the content, including X value, Y value, peak index, XY value pair sequentially.
      • Rotate the peak label. Click this button to rotate the peak label by 90 degrees counter-clockwise.
      • Change the position of peak label. Positions include top, bottom, center, left and right.
      • Reinit parameters. Reinitialize the peak parameters for fitting.
      • Get chi-square. The reduced chi-square value is shown as flyout.
      • Do 1 iteration. Perform 1 iteration for the peak fitting.
      • Fit until converged. Perform the fitting until converged or the specified max number of iteration is reached.
      • Switch to previous data. Change the data to the previous XY in the worksheet.
      • Switch to next data. Change the data to the next XY in the worksheet.
      • Output summary report for current data.
      • Batch peak fitting for all data in worksheet. Do the batch peak fitting for all the XY data in worksheet, and a summary is created for all the XY data.
      • Create report for current data.
    • Parameters Tab
      • Auto Parameter Initialization: If checked, parameter is initialized automatically.
      • Parameter Table: This table is for showing the fitting parameters of peaks. In this table, you can do the following settings:
        • Specify the baseline for fitting if you have fitted baseline with peaks, also change the fitting function for each peak individually.
        • Specify if share parameters.
        • Fix parameters.
        • Specify the initial parameters.
        • Specify lower bound and upper bound for parameters.
      • Dropdown in the Bottom: Change the peak function for all peaks.
      • Buttons in the Bottom (From Left to Right): Please refer to Fit Parameters.
        • Reorder peaks based on sorted peaks. Reorder the peaks for fitting, based on the sorted peaks.
        • Sort peaks position in table. Sort the peaks according to the settings. It just changes the peak position showing in the table, but not for fitting.
        • Fix/release baseline parameter. Fix or release baseline parameter.
        • Fix/release peak center parameter. Fix or release the parameters for peak center.
        • Fix/release peak width parameter. Fix or release the parameters for peak width.
        • Share all peak width parameters. Apply the current highlight width parameter to other peaks. The highlight row needs to be width row.
        • Apply value to all corresponding parameters. Apply the highlight parameter to the corresponding parameters of other peaks.
        • Set bounds for peaks.
        • Apply bounds to all corresponding parameter. Apply the highlight bounds to the corresponding parameters of other peaks.
      • Show Notice: If checked, the error/warning/result message will show as flyout. If clear this checkbox, no message shows.
    • Fit Control Tab
      • Max. Number of Iterations: Specify the max number of iterations for peak fitting.
      • Tolerance: Specify the tolerance for peak fitting.
      • Enable Constraints: Check this to enable constraints for peak fitting.
      • Constraints: When Enable Constraints is checked, this is for the specified constraints.
    • Result Settings Tab


v1.8 Fixed bug of tuning peak issue
v1.7 Improved initial parameters for LogNormal function, fixed bug of not work in Origin 2022
v1.6 Fixed bug of not work in Origin 2021b
v1.5 Fixed bug of not showing the whole dialog
v1.4 Fixed bug of switching fitting function
v1.3 Fixed bug of switching data, added baseline subtraction goal and peak finding goal
v1.2 Support for active plot in graph
v1.1 Improved dialog opening speed for large data

Reviews and Comments:
04/22/2021yukiOriginlabHi qwang5, this app is only available for Origin Pro.

OriginLab Technical Support

04/22/2021qwang5Does the OriginLab need to be OriginLab Pro, in order to install this Peak Deconvolution

03/02/2021zheli0305Nice tools for peak deconvolution. Just want to know if there's any method to export the baseline data along with the fitting results?

09/18/2020OriginLabVersion 1.5 improved the problem of dialog size too large. V1.5 has a smaller dialog window and you can drag to resize it or scroll to see the button panel.

09/17/2020originlab.downloadThe window of this app is bigger than the screen of my laptop and it can not be resized. Hence i am unable to use this app. Please address my this issue.

06/27/2020123shwetaThe window of the peak deconvolution app is bigger than the window of origin, it cannot even be resized , hence i am not able to use the app. Kindly help me with this.

06/27/2020shweta rani keshriThe size of the window of this app is even larger than the window of origin. Hence, I am not able to use this app.



11/12/2018Jacortessnever to declared