1. Peaks 1.1. Purpose Find the local or global maxima or minima in a signal. 1.2. Description The signal \(f(x)\) has a local maximum at \(x_j\) if \(f(x_{j-1})<f(x_j)\) and \(f(x_j)>f(x_{j+1})\). Equivalently, the signal \(f(x)\) has a local minimum at \(x_j\) if \(f(x_{j-1})>f(x_j)\) and \(f(x_j)<f(x_{j+1})\). A global maximum of a signal \(f(x)\) is the largest value between two subsequent up-crossings of a user-specified crossing level. A global minimum is defined analogously. If the block option is chosen, the signal is divided into \(N\) equal blocks and the maximum or minimum is found for each block. 1.3. Input Any equidistant signal (see Signal Types ). 1.4. Output The values of the signal at the computed local or global maxima or minima. The output can be used as input to a distribution. If plotted, the peaks will be marked in the plot.