Performing Peak Analysis

DADiSP provides a number of functions for identifying series characteristics. These functions place a cursor on the point location of your data graph that fits the function specification.

 

The peak and valley functions accept several optional arguments. For instance, all functions require an initial window reference argument in which the peak/valley search is to be performed. The second argument is a threshold value, mandatory only for FPEAK and FVALL. The third argument is an optional width for the peaks (number of points above the threshold). Note that the peak/valley functions do not return any values, but simply present a cursor position.

 

Function

Description

FMAX

Moves cursor to the maximum of the series.

FMIN

Moves cursor to the minimum of the series.

MAX

Moves cursor to the maximum of the series.

MIN

Moves cursor to the minimum of the series.

FPEAK

Moves cursor to the first peak of the series.

FPEAKN

Moves cursor to the next peak in the series.

FPEAKP

Moves cursor to the previous peak in the series.

FVALL

Moves cursor to the first valley in the series.

FVALLN

Moves cursor to the next valley in the series.

FVALLP

Moves cursor to the previous valley in the series.

GETPT

Displays the values of the nth point in the series.

GETPEAK

Returns a series of peaks of a series.

GETVALLEY

Returns a series of valleys of a series.