FPEAKP

Purpose:

Sets the crosshair cursor to the previous peak above a specified threshold.

Syntax:

FPEAKP(win, threshold, width)

win

-

Optional. A Window, defaults to the current Window.

threshold

-

Optional. A real, the minimum above which the previous peak will be found. Defaults to the last threshold.

width

-

Optional. An integer, the minimum number of points above the threshold. Defaults to 1.

Example:

W1: gsin(128, 1/128, 4)

fpeak(0)

fpeakn

fpeakp

 

FPEAK(0) to sets the cursor poistion first peak above 0.0. FPEAKN sets the crosshair cursor to the next peak. FPEAKP returns the cursor position to the previous peak.

Use CURSORON to display the crosshair cursor.

Remarks:

FPEAKP sets the cursor position to the maximum point of the peak but does not display point values nor does it provide an active cursor.

Use CURSORON to activate cursor.

FPEAKN must be executed before FPEAKP is used.

See Also:

CURPOS

CURSORON

FIND PEAKS AND VALLEYS

FMAX

FMIN

FPEAK

FPEAKN

FVALL

FVALLN

FVALLP

MAX

MIN