Hi All

I'm new to this forum, so hopefully my question is posted appropriate. Apologies if not.

I have a column of values ranging from approximately -20 to 20. Within these values I have certain collections forming "peaks" (if the data were to be graphed), like this:

-7.431377404
-0.123504621
8.267563041
11.90999127
10.14175866
1.613639202
-7.170097474
-6.826058515

I define anything which is part of a "peak" to be above a value of 3. How do I select all the values within one "peak" and choose the maximum? In the example above, I would want the value of 11.91 to be chosen. There are various examples of these "peaks" across my data. For example, here's another:

0.571340419
0.543676911
3.162139566
4.132734389
1.649930702
-0.201880797

And here I would want 4.13 to be chosen. I have too much data to do every single one of these by hand.

Essentially, if I imagine my data on a graph, I want something which chooses the tip of every single peak. Can this be done?

Many thanks.