Well, you have to define what makes a peak, i.e., a local maximum. In
XRD you typically have many points close together, so you could examine
each point in comparison to the five (say) points on either side. If
point i has a value equal to the maximum of the 11 points (5+1+5), then
point i is the local maximum; the Y value of point i is the intensity of
the peak, and the X value is the position. You can measure the minimum
on either side of the peak the same way, and subtract the average of the
noise on either side of the peak, to get a better number for the
intensity of the peak. Again, in XRD some people like to measure an
integrated intensity, which you can compute using the trapezoid rule,
with the relevant range of points on either side of the peak. Also, some
folks like to use the middle of the peak at 50% of its height for the
location; find the point on either side which is at 50%, and average the
two X values.
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______