Description: Perform peak analysis on a range of data. A baseline will be created on the endpoints of the range and an integration will be performed from the data to the baseline. The following is the information that is reported. 

Installation: Drag & drop the "PeakAnalysis.opk" file onto a running copy of Origin. A toolbar will appear in the Origin interface. A graph window must be the active window for the button to be enabled. 
1. Dataset 
2. Index values of range limits 
3. X values of range limits 
4. Peak Height 
5. Peak Center 
6. Peak Area 
7. Peak Centroid 
8. FWHM 
9. Left Half Width 
10. Right Half Width 

Operation: Click the Peak Analysis button to begin a session. A rectangle will appear on the current graph window that is shaded yellow with the data showing through. There will be a Green and Red tab in the upper right hand corner. The rectangle can be sized horizontally with a baseline drawn from the 2 outermost points included in the rectangle. Click the green tab in the upper right hand corner to perform Peak Analysis on the data included in the rectangle. The rectangle can then be moved throughout the data to perform more analysis. When all analysis is complete, click the red button to remove the objects from the graph. 

Testing Procedure: 

-Select File-> New Project from the Origin menu bar 
-Open the Script Window 
-Enter the following code: 

Data1_A=Data(1,100,.5); 
Data1_B=Gauss(Data1_A,0,50,5,10); 

-Plot column B into a Line plot 
-Click the Peak Analysis tool button 
-Click the Green tab to report results 
-Compare the results to the below: 

[3/18/2004 11:15 "/Graph2" (2453082)] 
Peak Information of Data1_B from Basemarkers 
i = 40 --> 158 
x = 20.5 --> 79.5 
--------------------------------------------- 
Peak Height 1.59577 
Peak Center 50 
Peak Area 10 
Peak Centroid 50 
FWHM 5.8894 
Left Half Width 2.9447 
Right Half Width 2.9447 