CALCulate<Chn>:STATistics...    Related Topics

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

[:STATe]

:MSTDev

[:STATe]

:NLINear

:COMP

:LEVel

:RESult?

[:STATe]

:RESult

:RMS

[:STATe]

:SFLatness

[:STATe]

[:STATe]


CALCulate<Chn>:STATistics:DOMain:USER <range_no>

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.

 

 


CALCulate<Chn>:STATistics:DOMain:USER:SHOW <Boolean>

Displays or hides range limit lines for the evaluation range selected via CALCulate<Chn>:STATistics:DOMain:USER.  

<Chn>

Channel number used to identify the active trace.

 

<Boolean>

ON | OFF - Range limit lines on or off.

*RST value

OFF

 

SCPI, Command Types

Device-specific, command or query.

 

Example:

See CALCulate<Chn>:STATistics:DOMain:USER

 

 


CALCulate<Chn>:STATistics:DOMain:USER:STARt <start_value>

Defines the start value of the evaluation range selected via CALCulate<Chn>:STATistics:DOMain:USER.

<Chn>

Channel number used to identify the active trace.

 

<start_value>

Start value of the evaluation range.

Range [def. unit]

–1000 GHz to 999.999999999 GHz. [Hz]

*RST value

Lowest frequency of the analyzer, depending on the analyzer model.

 

SCPI, Command Types

Device-specific, command or query.

 

Example:

See CALCulate<Chn>:STATistics:DOMain:USER

 

 


CALCulate<Chn>:STATistics:DOMain:USER:STOP <stop_value>

Defines the stop value of the evaluation range selected via CALCulate<Chn>:STATistics:DOMain:USER.

<Chn>

Channel number used to identify the active trace.

 

<stop_value>

Stop value of the evaluation range.

Range [def. unit]

–999.999999999 GHz to 1000 GHz. [Hz]

*RST value

Highest frequency of the analyzer, depending on the analyzer model.

 

SCPI, Command Types

Device-specific, command or query.

 

Example:

See CALCulate<Chn>:STATistics:DOMain:USER

 

 


CALCulate<Chn>:STATistics:EPDelay[:STATe] <Boolean>

Displays or hides the Phase Delay/El Length results in the diagram area of trace no. <Chn>.

<Chn>

Channel number used to identify the active trace.  

 

<Boolean>

ON | OFF - Statistical info field on or off.  

*RST value

OFF  

 

SCPI, Command Types

Device-specific, command or query.  

 

Example:

See CALCulate<Chn>:STATistics:[:STATe]

 

 


CALCulate<Chn>:STATistics:MMPTpeak[:STATe] <Boolean>

Displays or hides the Min/Max/Peak-Peak results in the diagram area of trace no. <Chn>.

<Chn>

Channel number used to identify the active trace.  

 

<Boolean>

ON | OFF - Statistical info field on or off.  

*RST value

OFF  

 

SCPI, Command Types

Device-specific, command or query.  

 

Example:

See CALCulate<Chn>:STATistics:[:STATe]

 

 


CALCulate<Chn>:STATistics:MSTDdev[:STATe] <Boolean>

Displays or hides the Mean/Std Dev results in the diagram area of trace no. <Chn>.

<Chn>

Channel number used to identify the active trace.  

 

<Boolean>

ON | OFF - Statistical info field on or off.  

*RST value

OFF  

 

SCPI, Command Types

Device-specific, command or query.  

 

Example:

See CALCulate<Chn>:STATistics:[:STATe]

 

 


CALCulate<Chn>:STATistics:NLINear:COMP:LEVel <numeric_value>

Defines the compression value x for the x-dB compression point measurement (CALCulate<Chn>:NLINear:COMP:RESult?).  

<Chn>

Channel number used to identify the active trace.

 

<numeric_value>

Stop value of the evaluation range.

Range [def. unit]

+0.01 dBm to +100.00 dBm [dBm]

*RST value

1 dBm

 

SCPI, Command Types

Device-specific, command or query.

 

Example:

See CALCulate<Chn>:NLINear:COMP:RESult?

 


CALCulate<Chn>:STATistics: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.

<Chn>

Channel number used to identify the active trace.

 

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.
 

Range [def. unit]

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]

*RST value

 

SCPI, Command Types

Device-specific, query only.

 

Example:

*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.

 

 


CALCulate<Chn>:STATistics:NLINear:COMP[:STATe] <Boolean>

Displays or hides the compression point result in the diagram area of trace no. <Chn>.

<Chn>

Channel number used to identify the active trace.  

 

<Boolean>

ON | OFF - Statistical info field on or off.  

*RST value

OFF  

 

SCPI, Command Types

Device-specific, command or query.  

 

Example:

See CALCulate<Chn>:NLINear:COMP:RESult?

 

 


CALCulate<Chn>:STATistics:RESult?
MEAN | STDDev | MAX | MIN | RMS | PTPeak | ELENgth | PDELay | GAIN | SLOPe | FLATness | ALL

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.

<Chn>

Channel number used to identify the active trace.

 

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
 

Range [def. unit]

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 value

 

SCPI, Command Types

Device-specific, query only.

 

Example:

*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.

 

 


CALCulate<Chn>:STATistics:RMS[:STATe] <Boolean>

Displays or hides the RMS results in the diagram area of trace no. <Chn>.

<Chn>

Channel number used to identify the active trace.  

 

<Boolean>

ON | OFF - Statistical info field on or off.  

*RST value

OFF  

 

SCPI, Command Types

Device-specific, command or query.  

 

Example:

See CALCulate<Chn>:STATistics:[:STATe]

 

 


CALCulate<Chn>:STATistics:SFLatness[:STATe] <Boolean>

Displays or hides the Gain/Slope/Flatness results in the diagram area of trace no. <Chn>.

<Chn>

Channel number used to identify the active trace.  

 

<Boolean>

ON | OFF - Statistical info field on or off.  

*RST value

OFF  

 

SCPI, Command Types

Device-specific, command or query.  

 

Example:

See CALCulate<Chn>:STATistics:[:STATe]

 

 

 


CALCulate<Chn>:STATistics[:STATe] <Boolean>

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.

<Chn>

Channel number used to identify the active trace.  

 

<Boolean>

ON | OFF - Statistical info field on or off.  

*RST value

OFF  

 

SCPI, Command Types

Device-specific, command or query.  

 

Example:

*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.