Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [peak-detection]

Questions on peak detection algorithms and problems, including applications of the built-in FindPeaks, PeakDetect, MaxDetect and MinDetect.

2
votes
3answers
128 views

Finding minimum from ListPlot

I have Table with 10000 elements in it and I plot a graphic using ListPlot. I need find minimum in graph. Here is a .txt file with data. I tried to use ...
0
votes
3answers
108 views

Find peaks in data set and correlate variables [closed]

I have a data set composed of a X variable (col 1) and two Y variables. Y1 shows roughly 40 peaks while Y2 is a linear function. Is it possible to find the approximated 40 Y2 values for which Y1 is a ...
2
votes
2answers
160 views

How to find second,third,etc maximum peak of list

I need to find all values of peaks. I have Table with 10000 elements in it and I plot a graphic using ListPlot. Then I tried to ...
3
votes
2answers
57 views

Find the base vectors of a point set

I have a list of coordinates that fits into a 2D periodic lattice, with some error ( $\vec{R}=n\vec{i}+m\vec{j}+\vec{\varepsilon}$). Is there a way to find the base vectors of the lattice? I guess the ...
3
votes
3answers
189 views

Efficient way to detect peak value changes in a list

ListPlot[list, Joined -> True, PlotRange -> Full] I would like a simple method to get the positions within the list where the values deviate a lot from ...
0
votes
0answers
66 views

How to calculate peak's blur and sharpness parameters?

What are the exact definitions of the last two parameters in function FindPeaks[data,σ,s] and similar? How do I calculate them for each peak that I find? My ...
4
votes
3answers
319 views

Multi-peak fitting for peak position

I have a {x,f} data-set featuring multiple peaks. The peaks evolve with a second variable y. I would like to fit the multiple ...
5
votes
1answer
106 views

Find centroids and average intensities of regions in an image

The image below shows an approximately triangular array of bright spots. The intensity falls off towards the edges (Gaussian decay). There are some defects (the elongated smudge and the sharper ...
0
votes
1answer
134 views

Finding peaks/maxima while extracting the range of x-values

I have read similar questions about finding peaks on the web (Finding peaks of data) as well as the FindPeaks function but I'm struggling to put them into proper context for my case. I am still a new ...
1
vote
3answers
253 views

Multi-peak fitting

I am starting, and still learning with Mathematica. I really wonder how to solve my problem : I have a broad peak composed by two peaks actually, and I would like to separate them. Data come from an ...
3
votes
2answers
94 views

Find peak decibel level (or some measure of peak loudness) from audio sample

So a shotgun range opened near my house and I've been tasked by the HOA to do some nuisance analysis. I've got a quick sample of audio and want to find the peak noise levels at the places where the ...
2
votes
2answers
432 views

Find positions and values of peaks

FindPeaks only works on a single dimension list and returns the position as an index, however, there are cases when it can return non-integer value as a position, ...
5
votes
0answers
266 views

Detect and measure smooth peaks in a 2D image

I have multiple grayscale images where I want to identify elevations: I have to find the convex hull that encloses the base of each hill. An example image: The images are already normalized, ...
1
vote
1answer
50 views

Plot terminating early

I have a function K3T[2][2 r0 l, g2, z, c, T, p] that is acting weird when evaluated for different p: ...
0
votes
0answers
81 views

How to draw local trend lines and divergence lines?

Here are two lists as lstClose and lstCCI, the lstCCI is computed from ...
2
votes
1answer
292 views

Mysterious “not a consistent list of real values” error from FindPeaks

I am working with temporal data objects and experimenting with FindPeaks. I find that the function sometimes fails with the error FindPeaks::arg: The argument ...
0
votes
1answer
117 views

Plotting a general ZigZag curve with possible threshold value

I want to use zigzag curve to describe the trend of simple data. here is a list as ...
3
votes
0answers
88 views

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: ...
3
votes
2answers
548 views

Integrating curve peaks

I have curve with a set of peaks (black line in the figure below) and I have to calculate the area of each peak. At the end of each peak there is a short linear region. So to calculate peaks' area ...
3
votes
1answer
337 views

Filtering Background with resonance or Peaks

I have some data, the blue curve which I want to filter out the background to get a flat signal with dips(Idea is to divide signal (except the dips) by the background). The orange curve is my best ...
5
votes
2answers
882 views

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 ...
8
votes
1answer
534 views

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 ...
1
vote
1answer
204 views

Extracting Features from a List

Data: https://drive.google.com/file/d/0B7G3oUuZG1TwYWhMVUhSQzNwTEk/view?usp=sharing Here I have 20 datasets collected from custom built EMG sensors monitoring a users face. I am particularly just ...
3
votes
3answers
516 views

Finding the width of a bell-shaped curve at half its peak value dynamically in a Manipulate

Kind of new to Mathematica. I am plotting a function that produces a bell-shaped curve in Mathematica within a Manipulate so that I can change its parameters easily....
1
vote
2answers
501 views

How do I extract peak frequencies? [closed]

Suppose I have large text file filled with numerical data. Then I do Fourier operation with this file and plot the result: ...
14
votes
2answers
1k views

How to detect loops in a vector field?

Given a vector field and I'd like to detect if there are streamlines in closed patterns. For example, if the input is a vector field like this: ...
2
votes
1answer
204 views

How to find the local minimum points in the multi-dimensional numerical data?

I am trying to get some local minima of an n-dimensional function (which only has numerical form). For two-dimensional function data, we can find the local minimum points from the contour plot easily. ...
2
votes
1answer
177 views

Still more problems with Fitting, please help

I'm in a little over my head here and I'm fully aware of it, so I'm hoping for some help. I've been assigned to a project where I am given data: http://www.pastebin.ca/3061136 (Example Data) I then ...
12
votes
2answers
5k views

Estimating the full width half maximum of a peak

I have a dataset of which I'm attempting to determine the full width at half maximum. A picture of the data is given below, and the dataset itself can be found here (pastebin). Now, this set has a ...
7
votes
2answers
329 views

Cutting away points that are not resonances

My situation is as follows. I have a whole bunch of data that I need to fit, which tends to look like this picture: As can be seen, there's three dips (resonances) and a whole bunch of noise around ...
4
votes
1answer
3k views

Finding peaks of data

I want to find peaks in my data. My code in a reduced form so far: ...
3
votes
0answers
414 views

FindPeaks finds Minima, but not all of them [closed]

I have 10 sets of data, which are the result of measuring the way of a mass falling down over time, bringing a wheel into rotation when the mass hits the ground and then the wheel lifts the mass up ...
1
vote
1answer
696 views

Finding Coordinates of a Peak on a Plot

I have plotted a graph from a CSV file which consists of two columns of data Time and Intensity. I simply want to find the time where the intensity is largest. This code: ...
10
votes
3answers
1k views

How to find local minima of data using PeakDetect

One of the great new function in v10 is PeakDetect. It can detect peaks (local maxima) according to desired sharpness as shown in this example: ...
50
votes
6answers
15k views

How to perform a multi-peak fitting?

I am wondering how to implement the multi-peak detecting and fitting in Mathematica. Following is an example of fitting the data using three peaks (such that the data ~ peak1 + peak2 + peak3). The ...
39
votes
5answers
14k views

Finding Local Minima / Maxima in Noisy Data

I'm trying to find local minima / maxima in noisy data, consisting of data values taken at certain time intervals. Ideally, the function should take a pair of lists (one containing time values and one ...
67
votes
5answers
21k views

How to find all the local minima/maxima in a range

I want to find : all local maxima in range all local minima in range From those points I can interpolate and combine functions upper and lower boundary. What I am really interested in, is the mean ...