This app can perform piecewise peak fitting, allowing for the definition of separate baselines for individual regions and performing peak deconvolution within each region.
Download the file "Piecewise Peak Fitting.opx", and then drag-and-drop onto the Origin workspace. An icon will appear in the Apps gallery window.
Activate a worksheet or graph with XY data, and then click the app icon to bring up the dialog. Then you can add/delete Region of Interest (ROIs), customize the baseline for each ROI, set peaks within each ROI and output the result of fitted peak information into a workbook.
Dialog Settings:
- Left Preview Panel: It displays the source data plot in the bottom layer and the zoomed-in peaks in the top layer. the user can adjust the size and position of the window to manually define the peak range in the lower layer.
- Right Panel
- Settings tab:
- Input: choose the dataset in the current folder for examination.
- <: Navigate to the previous ROI window.
- >: Navigate to the next ROI window.
- Add Region: Add an ROI window on the plot.
- Delete Region: Delete the current ROI window on the plot.
- Auto Find Peaks:
- Smoothing Window Size: Remove noise without affecting the overall curve shape.
- Direction: Detect positive or negative peaks.
- Local Points: Window size for local maximum peak finding.
- Peak Filtering: Remove small peaks.
- Remove Current Peaks on the Plot: Reset peaks on the graph.
- Left X: Set the left boundary of the current peak window.
- Right X: Set the right boundary of the current peak window.
- Baseline: Choose different methods to define the baseline. Please refer to Baseline Mode.
- Peak Function: Set a peak function for the fitting.
- Peak Number: Specify the number of peaks in the current ROI window.
- Fitted Peak Properties: Fitted Peak Position, Area, Width, Height.
- Output Result: Output the peak infos into a workbook with the current peak settings.
- Batch Process Data Source: It supports the following dataset scope: Current Worksheet, Current Workbook, Current Folder, Specify Files.
- Batch Processing: Perform the batch processing using the datesets specified in Batch Process Data Source.
- Save/Load tab:
- Save: Save the settings to a file.
- Load: Load the settings from a file.
- Delete: Delete setting file.