11-27-2010 09:19 PM
I need to calculate the width of peaks in some data. I am currently using the calculation mentioned at this thread:
http://forums.ni.com/t5/LabVIEW/Peak-Width/m-p/382458?requireLogin=False
however I was just wondering is there any labview .vi or similar?
Solved! Go to Solution.
11-27-2010 10:03 PM
The reason I ask is that using the method supplied in the aforementioned reports my peak widths as being reported as smaller than they actually are.
11-28-2010 12:58 AM
How do you define peak width? Width at half height?
Show us some typical data and tell us what width you are expecting.
11-28-2010 02:55 AM
An example is attatched. My software reports a FWHM of the max peak of around 1.8 however the actual peak width is more like 5. Unless I am doing the FHWM calculation incorrectly using the outputs from the peak finder .vi ?? The current calculation I am using is:
2*sqrt(-PEAK Amplitude/y") = Peak Width
which uses the amplitude and second derivative from the peak finder .vi
11-28-2010 12:09 PM - edited 11-28-2010 12:11 PM
What is the difference between FWHM and FHWM?
You seem to have very few points defining your peak. Are they Gaussian, Lorentzian? Just looking at the graph, a value around 2 seems about correct.
If you think 5 is correct, maybe you want the width at 5% of maximum?
Remember, the full width at half maximum (FWHM) is the width at half the height of the peak (A) and not near the peak base (B) as you seem to think.
11-28-2010 06:24 PM
Ok cheers for that.