Agilent Technologies 8566B Operating And Programming Manual page 398

Spectrum analyzer 100 hz - 2.5 ghz/2 - 22 ghz
Table of Contents

Advertisement

PEAKS
TRACE LABEL
The PEAKS command sorts signal peaks by frequency or amplitude. PEAKS sorts the source trace and sends
sorted results to the destination trace.
10
OUTPUT 718; "Ip;"
20
OUTPUT 718;"TRDEF FBEQ;"
30
OUTPUT 718;"TS;MOV FREQ,TBA;"
40
OUTPUT 718;"PEAKS TRC,FREQ,FBQ;"
80 END
When sorting by frequency, PEAKS first computes, in display units, the horizontal position of all peaks. These
values are consecutively loaded into the destination trace, the lowest value occupying the first element. Thus,
signal horizontal positions, from low to high, determine the amplitude of the destination trace from left to right. To
obtain results in frequency units, scale the destination trace from display units to frequency units using either the
center frequency and frequency span, or the start and stop frequencies.
When sorting by amplitude, PEAKS first computes the amplitudes of all peaks in the source trace. The horizontal
position corresponding to each signal peak is loaded, in display units, into the destination trace. The horizontal
position corresponding to the signal with the highest amplitude is loaded into the first element of the destination
trace. The horizontal position corresponding to the signal with the second highest amplitude is loaded into the
second element of the destination trace, and so on. It is in this manner that the horizontal positions corresponding
to signals ranging from the highest amplitude to the lowest amplitude determine, from left to right, the amplitude of
the destination trace.
PEAKS only sorts signals that are above the threshold value; to change the threshold, use the TH command
before PEAKS is executed.
If necessary, the last sorted value is repeated to fill remaining elements of the destination trace.
Description/Default
Alpha character. User-defined label declared in
TRDEF statement.
PEAKS
Range Restriction
AA- 22 and _
Programming 289
Peaks

Advertisement

Table of Contents
loading

Table of Contents