![]() |
IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
|
Peak detector.
This algorithm is a simplified version of [1]. What is referred to as "noise" in the publication can be considered as the minhei
parameter.
[1] K. R. Coombes et al., Quality control and peak finding for proteomics data collected from nipple aspirate fluid by surface-enhanced laser desorption and ionization.,” Clinical chemistry, vol. 49, no. 10, pp. 1615-23, Oct. 2003.
Definition in file detect_peaks.m.
Go to the source code of this file.
Functions | |
function | detect_peaks (in y, in minalt, in minhei, in mindist) |
function detect_peaks | ( | in | y, |
in | minalt, | ||
in | minhei, | ||
in | mindist | ||
) |
y | Vector of values. |
minalt=0 | Minimum altitude (distance from zero to montain top). |
minhei=0 | Minimum height (distance from highest foot (either left or right)) to mountain top. |
mindist=1 | Minimum horizontal distance between two peaks. Peak pruning based on this is done in an iterative way to keep the highest peak of a set of peaks too close to each other. |