Questions on peak detection algorithms and problems, including applications of the built-in FindPeaks, PeakDetect, MaxDetect and MinDetect.
Questions tagged [peak-detection]
59 questions
8
votes
1 answer
Finding peaks of curve with small values
I have 2d data of which I want to find the peaks.
data << "http://pastebin.com/raw/EQFz1KFn";
peaks = FindPeaks[data[[All, 2]], 0, 0, -Infinity] // N
The magnitudes of the found peaks are wrong:
{{22., 2.58437*10^-10}, {67., 2.86902*10^-10},…
mrz
- 11,686
- 2
- 25
- 81
5
votes
2 answers
Finding very weak peaks
I measured 1d particle oscillations.
The particle is oscillating with a certain frequency, whereby its motion is disturbed.
Now I would like to to find all peaks of the particles trajectory. One peak is nearly invisible and is not detected.
Here…
mrz
- 11,686
- 2
- 25
- 81
4
votes
4 answers
Separating two peaks in a 2D array of data
I have a 2D array of count values and the data presents two peaks separated by a valley of low counts. I want to be able to separate each peak signal from the other so that I can analyse the behaviour of these peaks individually.
I have included an…
Richard
- 93
- 3
4
votes
0 answers
FindPeaks confused by initial zeros?
I think that there is something wrong with the FindPeaks algorithm. It seems to get confused when the data starts with some zeros. Here is works well:
Module[
{data = N@Table[1 - Cos[x], {x, 0, 2 \[Pi], \[Pi]/100}]},
ListPlot[data, Epilog…
Gustavo Delfino
- 8,348
- 1
- 28
- 58
1
vote
1 answer
Find local maximum
What instruction could I use to obtain the local maximum point of the red circle in the graph?
I tried using the $FindMaximum$ instruction, but couldn't get the desired result.
The curve generation code is as follows:
dt = 0.00006;
tend = 0.08;
sol…
chen chen
- 165
- 6
1
vote
1 answer
What is the best way to detect constant or periodic amplitude of the spectrogram?
Suppose I get interpolating function in the solution of the complicated differential system. I plot a solution for various input values that control the outcome of the solution. Some give exponential results and some give sinusoidal results with…
Aschoolar
- 883
- 5
- 14
0
votes
0 answers
Plot the peak frequency of a ShortTimeFourirer Transformation and convert bin # to frequency
I did the ShortTimeFourier(stf) Transformation of the following signal.
And got the results as shown in this Spectrogram.
Then I wanted to find the peak frequency of this each turn using PeakDetect as:
Qpeak =…
user85978
- 1
- 1