2.37 Align PeaksAlign-Peaks
Summary
The Align Peaks app can be used to align peaks of spectra by shifting, scaling, clipping and inserting data.
Tutorial
- Start this tutorial with the app Align Peaks installed. If you have not installed this app, please click Add Apps button in Apps Gallery to open App Center to search and install the app.
- Right-click on the app icon to select Show Sample Folder context menu to open the folder with sample project "AlignPeaksSample.opju". Drag-and-drop this project file into Origin workspace to open it.
- Highlight all columns to click the app icon to open the app dialog Align Peaks. In this dialog, there are four control groups in left panel and input data has been plotted into the right panel with anchor and spectra list controls.
- Let start to align peaks with four methods:
Shift
In this example, we will use the spectra curve VLine1 as reference. For VLine2, there is some backward shift from VLine1, we are going to shift it to align the peaks.
- Select Shift radio box in the left panel, and make sure Anchor Line has been selected for Shift by.
- Move the reference line(the blue one) to the peak center of first peak on VLine1. And then, move the anchor line (The black one) to the peak center of first peak on VLine2. Select VLine2 in the Spectra List at the bottom of dialog.
- Click Apply button to shift the spectra VLine2 to align it to VLine1 at first peak.
- If you want to undo the shift you just did, you can click Undo button. If everything is ready, you can click OK button to output the adjusted curves to a new worksheet.
Scale
In this example, we found the spectra curve VLine3 was scaled up, we can enter a scale factor value less than 1 to scale down it to make VLine1 and VLine3 align.
- Select Scale radio box in left panel and then enter 0.833 into Scale Factor. Select the target spectra curve VLine3 under Spectra List.
- Click Apply button, you will see the curve VLine3 has been scaled in to align to VLine1 and VLine2.
- If you want to undo the scaling you just did, you can click Undo button. If everything is ready, you can click OK button to output the adjusted curves to a new worksheet.
Clip
In this example, we found there were some delay between the first peak and second peak on VLine4, comparing with VLine1. We are going to remove the delay from VLine 4 to make it align to VLine1.
- Select Clip radio box in the left panel. This time, we use ROI box to clip the delay interval.
- Make the ROI box as narrow as possible, move Reference Line to the peak center of second peak on VLine1. Select VLine4 under Spectra List.
- Click Apply button multiple times to clip the interval until the second peak of VLine4 align to reference line.
- If you want to undo the clipping you just did, you can click Undo button. If everything is ready, you can click OK button to output the adjusted curves to a new worksheet.
Insert
In this example, we found the second peak on VLine5 appeared ahead of time. To align the peaks, we should insert some data points to make the peaks after the first peak move to the right.
- Select Insert radio box in left panel. Keep the default settings below:
- Move Reference Line to second peak of VLine1 and then place the data selector line(the red one) at an appropriate place between first peak and second peak. Select VLine5 under Spectra List.
- Click Apply button multiple times to insert points until the second peak of VLine5 aligns to that of VLine1.
- If you want to undo the insert you just did, you can click Undo button. If everything is ready, you can click OK button to output the adjusted curves to a new worksheet.
Note: For some complicate situations, you can use more then one method to adjust the curves to align them.
|