This subsystem evaluates and displays statistical and phase information of the trace.
Command tree: CALCulate<Chn>:STATistics
:DOMain
:USER
:SHOW
:STARt
:STOP
:EDPdelay
[:STATe]
:MMPTpeak
:MSTDev
:NLINear
:COMP
:LEVel
:RESult?
:RESult
:RMS
:SFLatness
Selects one out of 10 evaluation ranges to be configured with the CALCulate<Chn>:STATistics:DOMain:USER:SHOW, CALCulate<Chn>:STATistics:DOMain:USER:STARt and CALCulate<Chn>:STATistics:DOMain:USER:STOP commands.
<Chn>
Channel number used to identify the active trace. If unspecified the numeric suffix is set to 1.
<range_no>
Number of the evaluation range.
Range [def. unit]
1 to 10. In addition, 0 denotes the (non-configurable) Full Span evaluation range. [–]
*RST value
0
SCPI, Command Types
Device-specific, command or query.
Example:
*RST; :CALC:STAT:DOM:USER?
Query the default evaluation range. The response is zero, i.e. the evaluation range is equal to the complete sweep range
CALC:STAT:DOM:USER 1; :CALC:STAT:DOM:USER:STARt 1GHZ; STOP 2GHZ; SHOW ON
Select evaluation range no. 1 and define the evaluation range between 1 GHz and 2 GHz. Display the range limit lines.
Displays or hides range limit lines for the evaluation range selected via CALCulate<Chn>:STATistics:DOMain:USER.
Channel number used to identify the active trace.
<Boolean>
ON | OFF - Range limit lines on or off.
OFF
See CALCulate<Chn>:STATistics:DOMain:USER
Defines the start value of the evaluation range selected via CALCulate<Chn>:STATistics:DOMain:USER.
<start_value>
Start value of the evaluation range.
–1000 GHz to 999.999999999 GHz. [Hz]
Lowest frequency of the analyzer, depending on the analyzer model.
Defines the stop value of the evaluation range selected via CALCulate<Chn>:STATistics:DOMain:USER.
<stop_value>
Stop value of the evaluation range.
–999.999999999 GHz to 1000 GHz. [Hz]
Highest frequency of the analyzer, depending on the analyzer model.
Displays or hides the Phase Delay/El Length results in the diagram area of trace no. <Chn>.
ON | OFF - Statistical info field on or off.
See CALCulate<Chn>:STATistics:[:STATe]
Displays or hides the Min/Max/Peak-Peak results in the diagram area of trace no. <Chn>.
Displays or hides the Mean/Std Dev results in the diagram area of trace no. <Chn>.
Defines the compression value x for the x-dB compression point measurement (CALCulate<Chn>:NLINear:COMP:RESult?).
<numeric_value>
+0.01 dBm to +100.00 dBm [dBm]
1 dBm
See CALCulate<Chn>:NLINear:COMP:RESult?
Returns the x-dB compression point of an S-parameter or ratio measured in a power sweep. The compression value x is set via CALCulate<Chn>:STATistics:NLINear:COMP:LEVel.
Result
<Cmp_In>, <Cmp_Out>
<Cmp_In> is the stimulus level at the compression point <Cmp_Out> is the magnitude of the wave reflected or transmitted by the DUT.
For <Cmp_In>: Current sweep range or evaluation range (CALCulate<Chn>:STATistics:DOMain:USER), if different from the sweep range. [dBm]
For <Cmp_Out>: Measurement range of the analyzer. [dBm]
–
Device-specific, query only.
*RST; SWE:TYPE POW
Select a power sweep with default CW frequency and sweep range.
CALC:STAT:NLIN:COMP:LEV 2
Define a compression value of 2 dB.
CALC:STAT:NLIN:COMP:RES?
Query the compression point results <Cmp_In>, <Cmp_Out>. An execution error message (error no. –200) is returned if no compression point is found.
CALC:STAT:NLIN:COMP ON
Display the compression point result in the diagram area.
Displays or hides the compression point result in the diagram area of trace no. <Chn>.
Returns a single statistical parameters of the trace no. <Chn> or all parameters. It is not necessary to display the info field (CALCulate<Chn>:STATistics[:STATe] ON) before using this command.
Parameters
MEAN – Return arithmetic mean value of all response values of the trace in the entire sweep range (or in the evaluation range defined in manual control) STDDev – Return standard deviation of all response values MAX – Return the maximum of all response values MIN – Return the minimum of all response values RMS – Return the root mean square of all response values PTPeak – Return the peak-to-peak value (MAX – MIN) ELENgth – Return the electrical length PDELay – Return the phase delay GAIN – Return the gain, i.e. the larger of two marker values SLOPe – Return the slope (difference) between two marker values FLATness – Return the flatness of the trace between two marker positions ALL – Return all statistical values, observing the order used above
The data is returned as a comma-separated list of real numbers. The unit is the default unit of the measured parameter; see CALCulate<Ch>:PARameter:SDEFine but also depends on the trace format (linear or logarithmic scale, see CALCulate<Chn>:FORMat). If a polar trace format is selected, then the statistical parameters are calculated from the linear magnitude of the measurement parameter. [–]
*RST; :CALC:STAT:RES? MAX
Calculate and return the maximum of the default trace showing an S-parameter on a dB Mag scale.
:CALC:FORM POL; STAT:RES? MAX
Display the trace in a polar diagram and re-calculate the maximum. The result corresponds to the previous result but is converted to a unitless linear value.
Displays or hides the RMS results in the diagram area of trace no. <Chn>.
Displays or hides the Gain/Slope/Flatness results in the diagram area of trace no. <Chn>.
Displays or hides all statistical results in the diagram area of trace no. <Chn> except the compression point results.
You can display or hide the Min/Max/Peak-Peak, Mean/Std Dev, RMS, Phase Delay/El Length and Gain/Slope/Flatness results separately; see example below.
*RST; :CALC:STAT:MMPT ON
Reset the instrument, hiding all statistical results. Display the Min/Max/Peak-Peak results.
CALC:STAT:MSTD ON
Display the Mean/Std Dev results in addition.
CALC:STAT:RMS ON
Display the RMS results in addition.
CALC:STAT:EPD ON
Display the Phase Delay/El Length results in addition.
CALC:STAT:SFL ON
Display the Gain/Slope/Flatness results in addition.
CALC:STAT OFF
Hide all results.