I have a variable number of points (not more than 10) - which are probability values. Amongst these points some of them refer to the peaks on the curve if the points are fit on a curve. I want to find the points that represent the peaks on the curve. Is there a simple way to find the peaks? Do I need to do any curve fitting first to spot the peaks?