File Exchange > Data Analysis >    Peak Deconvolution

Author:
OriginLab Technical Support
Date Added:
4/15/2018
Last Update:
4/12/2024
Downloads (90 Days):
1563
Total Ratings:
33
File Size:
1799 KB
Average Rating:
File Name:
Peak Decon...on.opx
File Version:
2.20
Minimum Versions:
License:
Free
Type:
App
Summary:

Offer an intuitive and interactive interface to perform peak analysis.

Screen Shot and Video:
Description:

  • 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

Updates:

v2.2 Add fit stats for batch peak fitting summary
v2.1 Fix bug for not showing labels in result graph
v2.0 Add support for batch processing with plots from graph with data range
v1.9 Add buttons for zooming and rescaling
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:
11/04/2024kdkim754 

10/31/2024182122930931

08/21/2024zchang99The App is great with a user-friendly interface and a flexibility of fitting a single spectrum with more than one functions. But I don't see user-defined functions in the function list, like that you can find from "Analysis> Multiple Peak Fit". Maybe there is a way to use user-defined functions with this App? Please let me know if there is one. Thanks.

07/28/2024mchiparaThere are some issues with this app. I will strat with the most obvious:
1. It appears that BFW function is not implemented (only listed).
2. If fitting involves 2 bigaussian lines the peak analysis provides only 2 widths instead of 4 (2 for each bigaussian). There is no definition/description for these "overall widths"

07/28/2024mchiparaThis app is complex and of high value for the fitting of many experimental data. However, there are some issues with this apps
1. Sometimes there is a discrepancy between the values of the parameters from the last fit and the values listed in the peak analysis report.
Please at least specify which are the right values.
2. In certain cases, for complex functions and combinations, the peak analysis report does not include all parameters for all lines.
3. For example, in a fit that involves linear baseline correction and 2 bigaussians, the report provides only 2 widths instead of 4 linewidths.
However, the file with the parameters contain all relevant parameters. Even more disturbing, similar parameter (like center position) are not exactly the same.
4. The BWF function (used in spectroscopies like Raman) is just mentioned but not implemented.
5. The multibatch requires some polishing. The list of parameters may be refined and the information contained within the Peak Analysis should become compatible with the most recent parameters.
6. Suggestion: Eventually, while fitting I may discover that I do need to modify the fitting range. Such flexibility may be welcomed.
7. The "here" link is not working

06/27/2024behissasouadi need it

06/21/2024k.ziyaeiI need it

06/21/2024k.ziyaeiI need Peak Deconvolution

06/21/2024k.ziyaeiI need Peak Deconvolution

10/06/2023OriginLabHi silveira,

It appears the tool failed to find the peaks for other spectrums. Could you use the link below to start a service ticket to share your data with us to check?
https://www.originlab.com/restricted/support/newticket.aspx?c=3

1234