function maxima

Refind local maxima in X given POSITIONS around RADIUS.

Syntax
result = maxima(X, POSITIONS, RADIUS [, /circle, /box])

Arguments
X:   A matrix.
POSITIONS:   A 2xn matrix with initial positions.
RADIUS:   An integer number.


Switches
/circle:   Local maxima are searched for within a circle with RADIUS
/box:   Local maxima are search for within a quadratic box with RADIUS


See also
function centroids
function gausspos