9 Programming the Instrument
9.3 SCPI Operation and Results Query
Identifies the peaks of trace 4 that are above –40dBm, with excursions of at least 10dB. The peaks are
returned in order of increasing frequency, starting with the lowest frequency. Only the peaks that are
above the display line are returned
Query Results:
If :FORMat:DATA REAL,32 is selected, returns a list of floating-point numbers. The first value in
the list is the number of peak points that are in the following list. A peak point consists of two values: a
peak amplitude followed by its corresponding frequency (or time)
If no peaks are found, the peak list consists of only the number of peaks, (0)
9.3.3.7 Smooth Trace Data (Remote Command Only)
Included for ESA compatibility. Not recommended for new designs. Use
:CALCulate:DATA:COMPress instead.
Smoothes the trace according to the number of points specified in
:TRACe:MATH:SMOoth:POINts. There is no equivalent front panel function.
The purpose of this function is to perform a spatial video averaging, as compared to
the temporal version supplied by the video-average command
[:SENSe]:AVERage:TYPE VIDeo. The functions of :TRACe:MATH:SMOoth
<trace> and [:SENSe]:AVERage:TYPE VIDeo|POWer are not interchangeable.
Backwards Compatibility
SCPI
:TRACe:MATH:SMOoth TRACE1 | … | TRACE6
Each point value is replaced with the average of the values of the selected number
of points, with half of those points located on each side of any particular point (when
possible). Refer to the illustration below, which shows a 401 point trace with a
smoothing number of 31. Think of the trace points as “buckets” of data. To smooth
(arbitrary) point 273, the instrument averages buckets 258 through 288 and applies
that value to point 273.
Increasing the number of points increases smoothing at the cost of decreasing
resolution.
The amount of smoothing decreases at the end points. Because
:TRACe:MATH:SMOoth <trace> averages values that occur before and after the
data point in time, display irregularities can be caused at the start and stop
frequencies. To avoid possible irregularities (signal distortion) at the ends of the
trace, use small values for the smooth parameter.
2567 Vector Modulation Analyzer Mode User's &Programmer's Reference