Code covered by the BSD License
-
P=ipeak(DataMatrix,PeakD,AmpT...
Version 3.81, Adds manual entry of AmpT after entering number of click
-
AmpTSlider(n,h)
Changes AmpThreshold when the AmpThreshold slider is moved.
-
BGSlider(n,h)
Called when the BG slider is clicked.
-
FitSlider(n,h)
Changes FitWidth when the FitWidth slider is moved.
-
P=findpeaks(x,y,SlopeThreshol...
function P=findpeaks(x,y,SlopeThreshold,AmpThreshold,smoothwidth,peakgroup)
-
P=findpeaks(x,y,SlopeThreshol...
function P=findpeaks(x,y,SlopeThreshold,AmpThreshold,smoothwidth,peakgroup,smoothtype)
-
P=findpeakslidersRedraw(x,y,S...
Redraws graph for FindPeakSliders when slider are moved.
-
PeakSlider(n,h)
Changes PeakNumber when the Peak slider is moved.
-
SlopeTSlider(n,h)
Changes SlopeThreshold when the SlopeThreshold slider is moved.
-
SmoothSlider(n,h)
Changes SmoothWidth when the SmoothWidth slider is moved.
-
V=findvalleys(x,y,SlopeThresh...
function P=findvalleys(x,y,SlopeThreshold,AmpThreshold,smoothwidth,peakgroup,smoothtype)
-
[index,closestval]=val2ind(x,...
Returns the index and the value of the element of vector x that is closest to val
-
d=deriv(a)
First derivative of vector using 2-point central difference.
-
d=secderiv(a)
Second derivative of vector using 3-point central difference.
-
exp(-((x-pos)./(0.6006.*wid))...
-
lorentzian(x,position,width)
...
-
rtslid(fig,f,hh,varargin)
RTSLID Slider widget that responds to dragging realtime
-
smoothwidth. Works well with ...
-
sy=condense(y,n)
Condense y by a factor of n, where n is a non-zero positive integer.
-
Demo4peaks.m
-
DemoFindPeak.m
-
DemoFindPeak.m
-
DemoFindPeakSliders.m
-
DemoFindPeakSliders2.m
-
DemoFindPeakSlidersG.m
-
FindPeakSliders.m
-
FindPeakSlidersG.m
-
RedrawPeak.m
-
TestPeakfind.m
-
ipeakdemo.m
-
ipeakdemo1.m
-
ipeakdemo2.m
-
ipeakdemo3.m
-
ipeakdemo4.m
-
View all files
Peak finding and measurement
by Tom O'Haver
20 Jul 2006
(Updated 28 Oct 2011)
Function to locate and measure the positive peaks and valleys in noisy data sets.
|
Watch this File
|
| File Information |
| Description |
A fast customizable function for locating and measuring the peaks in noisy time-series signals. Adjustable parameters allow discrimination of "real" signal peaks from noise and background. Determines the position, height, and width of each peak by least-squares curve-fitting. It can find and measure 1000 peaks in a 1,000,000 point signal in 8 seconds. Includes two interactive versions, one with mouse-controlled sliders and one with keyboard control, for adjusting the peak finding criteria in real-time. Self-contained demos show how it works. See http://www.wam.umd.edu/~toh/spectrum/PeakFindingandMeasurement.htm for details.
This version includes the findvalleys function and version 3.81 of the interactive iPeak function. |
| Acknowledgements |
This submission has inspired the following:
iPeak: Interactive Peak Detector (Version 3.8)
|
| MATLAB release |
MATLAB 6.5 (R13)
|
| Other requirements |
This version includes the findvalleys function and version 3.81 of the interactive iPeak function. |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (28) |
| 20 Aug 2006 |
Frank Anold
|
|
|
| 24 Aug 2006 |
Tom O'Haver
|
|
|
| 15 Sep 2006 |
K. Tampa
|
|
|
| 03 Oct 2006 |
mcs swamy
|
|
|
| 14 Oct 2006 |
Tom O'Haver
|
|
|
| 22 Dec 2006 |
BHARATH KUMAR
|
|
|
| 20 Jan 2007 |
Dmitry Kazachk
|
|
|
| 12 Apr 2007 |
Tom Driscoll
|
|
|
| 03 May 2007 |
Matthew Butcher
|
|
|
| 10 Sep 2007 |
Li XinBo
|
|
|
| 06 Nov 2007 |
Karan Jain
|
|
|
| 20 Nov 2007 |
Hugo Banziger
|
|
|
| 11 Jan 2008 |
Julius Kusuma
|
|
|
| 29 Apr 2008 |
Ralph Ernstorfer
|
|
|
| 21 Jun 2008 |
Christof Devriendt
|
|
|
| 17 Apr 2009 |
Tom O'Haver
|
|
|
| 19 Aug 2009 |
Michael Coen
|
|
|
| 19 Aug 2009 |
Michael Coen
|
|
|
| 19 Aug 2009 |
Michael Coen
|
|
|
| 05 Jan 2010 |
ZULIN
|
|
|
| 12 Feb 2010 |
Andre Guy Tranquille
|
|
|
| 04 Jun 2011 |
Tom O'Haver
|
|
|
| 02 Sep 2011 |
Tom O'Haver
|
|
|
| 02 Sep 2011 |
mohammad
|
|
|
| 03 Sep 2011 |
Tom O'Haver
|
|
|
| 05 Sep 2011 |
mohammad
|
|
|
| 06 Sep 2011 |
Tom O'Haver
|
|
|
| 06 Sep 2011 |
mohammad
|
|
|
| Updates |
|
Add or update the screenshot |
| 24 Jul 2006 |
replace missing function in ZIP file |
| 02 Aug 2006 |
Add or update the screenshot
Bug fixes |
| 22 Aug 2006 |
Bug fixes and enhancements (Version 1.1) |
| 25 Aug 2006 |
Enhancements: Version 1.2 is a faster version of the original findpeaks function. |
| 18 Sep 2006 |
Change to file details (title, description, requirements, ...),
Enhancements,
Bug fixes. |
| 22 Sep 2006 |
Change to file details (title, description, requirements, ...) |
| 24 Oct 2006 |
Change to file details |
| 01 Nov 2006 |
enhancements |
| 07 Dec 2006 |
enhancements
Change to file details |
| 17 Apr 2009 |
Fixes a bug in the FindPeakSlidersG script that caused a malfunction in the individual peak viewing mode when the x-axis data series did not start at zero. |
| 03 Sep 2009 |
The rtslid.m function in this version has been
modified by commenting out lines 337 and 373
to prevent crashs on Matlab 20078 and 2009,
as recommended by Michael Coen's comment on
http://www.mathworks.com/matlabcentral/fileexchange/11755 |
| 12 Sep 2011 |
Includes the version 3.2 update of iPeak and version 4 of findpeaks.m, as well as the older 2008 version with sliders. |
| 20 Sep 2011 |
Bug fix |
| 28 Oct 2011 |
This version includes the findvalleys function and version 3.81 of the interactive iPeak function. |
|
Contact us at files@mathworks.com