Calculate:Correction Commands


Controls error correction functions.

 

CALCulate:CORRection

EDELay

     | DISTance

     | TIME

     | MEDium

     | UNIT

     | WGCutoff

[STATe]

     | INDicator?

TYPE

OFFSet

     | [MAGNitude]

     | PHASe

Click on a keyword to view the command details.

Blue keywords are superseded.

See Also

Critical Note: CALCulate commands act on the selected measurement. You can select one measurement for each channel using Calc:Par:MNUM or Calc:Par:Select. Learn more.


CALCulate<cnum>:CORRection:EDELay:DISTance <num>

(Read-Write) Sets the electrical delay in physical length (distance) for the selected measurement.

See Critical Note

Parameters

 

<cnum>

Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1.

<num>

Electrical delay in distance.

First Specify units using CALC:CORR:EDEL:UNIT

Use SENS:CORR:RVEL:COAX <num> to set Velocity factor.

This parameter supports MIN and MAX as arguments. Learn more.

Examples

CALC1:CORR:EDEL:DIST 5

calculate2:correction:distance .003

Query Syntax

CALCulate:CORRection:EDELay:DISTance?

Return Type

Numeric

Default

0


CALCulate<cnum>:CORRection:EDELay:MEDium <char>

(Read-Write) Sets the media used when calculating the electrical delay.  

Parameters

 

<cnum>

Any existing channel number.  If unspecified, value is set to 1.

<num>

Choose from:  COAX for coaxial medium, WAVEguide for waveguide medium.

Examples

CALC:CORR:EDEL:MED COAX

calc3:corr:edelay:medium waveguide

Query Syntax

CALCulate<cnum>:CORRection:EDELay:MEDium?

Return Type

Character

Default

COAX


CALCulate<cnum>:CORRection:EDELay:UNIT <char>

(Read-Write) Sets and returns the units for specifying electrical delay in physical length (distance).   

Parameters

 

<cnum>

Any existing channel number.  If unspecified, value is set to 1.

<char>

Units for delay in distance. Choose from:

  • METer

  • FEET

  • INCH

Examples

CALC:CORR:EDEL:UNIT MET

calc3:corr:edelay:unit inch

Query Syntax

CALCulate<cnum>:CORRection:EDELay:UNIT?

Return Type

Character

Default

METer


CALCulate<cnum>:CORRection:EDELay[:TIME] <num>

(Read-Write) Sets the electrical delay for the selected measurement.

See Critical Note

Parameters

 

<cnum>

Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1.

<num>

Electrical delay in seconds. Choose any number between:
-10.00
and 10.00
Use SENS:CORR:RVEL:COAX <num> to set Velocity factor.

This parameter supports MIN and MAX as arguments. Learn more.

Examples

CALC1:CORR:EDEL:TIME 1NS
calculate2:correction:time 0.5e-12

Query Syntax

CALCulate:CORRection:EDELay[:TIME]?

Return Type

Numeric

Default

0 seconds


CALCulate<cnum>:CORRection:EDELay:WGCutoff <num>

(Read-Write) Sets the waveguide cutoff frequency used when the electrical delay media is set to WAVEguide.  (See CALCulate:CORRection:EDELay:MEDium <char>.)

Parameters

 

<cnum>

Any existing channel number.  If unspecified, value is set to 1.

<num>

Waveguide cutoff frequency used with the electrical delay calculation.

This parameter supports MIN and MAX as arguments. Learn more.

Examples

CALC:CORR:EDEL:WGC 18.067 GHz

calculate3:correction:edelay:wgcutoff 14.047 ghz

Query Syntax

CALCulate<cnum>:CORRection:EDELay:WGCutoff?

Return Type

Numeric

Default

45 MHz


CALCulate<cnum>:CORRection[:STATe] <bool>

(Read-Write) Turns error correction ON or OFF for the selected measurement on the specified channel.

To turn error correction ON or OFF for a channel, use SENS:CORR:STATe.

See Critical Note

Parameters

 

<cnum>

Any existing channel number. If unspecified, value is set to 1

<bool>

Correction state. Choose from:

0 - Correction OFF

1 - Correction ON

Examples

CALC:CORR ON

calculate:correction:state off

Query Syntax

CALCulate<cnum>:CORRection:STATe?

Return Type

Boolean

Default

Not Applicable


CALCulate<cnum>:CORRection[:STATe]:INDicator?

(Read-only) Returns the error correction state for the selected measurement on the specified channel.  

To turn error correction ON or OFF for a channel, use SENS:CORR:STATe.

See Critical Note

Parameters

 

<cnum>

Any existing channel number. If unspecified, value is set to 1

Examples

CALC:CORR:IND?

calculate2:correction:state:indicator?

Return Type

Character

NONE - No error correction

MAST (Master) - Original error correction terms

INT - Error terms are interpolated. Learn more.

DELT - Delta Match calibration terms. Learn more.

INV - Error terms are not valid

Default

NONE


CALCulate<cnum>:CORRection:TYPE <string>

(Read-Write) Sets the Cal Type for the selected measurement on the specified channel. This is used when a Cal Set is applied. Learn more about applying Cal Types.

See Critical Note

Parameters

 

<cnum>

Any existing channel number. If unspecified, value is set to 1

<string>

(String) Cal type. Case sensitive. Use one of the following:

For Full Calibrations (NO Power Cal included):

This command does not distinguish between TRL and SOLT. The same number of error terms is applied for both Cal Types.

"Full <n> Port(x,y,z...)"

where

<n> = the number of ports to calibrate

x,y,z = the port numbers to calibrate

For example:

"Full 4 Port(1,2,3,4)"

For Full Calibrations (including Power Cal):

After the Full <n> port, include the string, "with power"

For example:

"Full 4 Port with power(1,2,3,4)"

For Response Calibrations:

"Response(param)"  OR

"ResponseAndIsolation(param)"

Where param =  

  • S-parameter. For example"

    • "Response(S21)"

    • "ResponseAndIsolation(A/R)"

  • Single or ratioed receivers using either logical receiver notation or physical receiver notation. For example:

    • "Response(A)"

    • "ResponseAndIsolation(a3/b4)"

For Enhanced Response Calibrations:

"EnhancedResp(recPort, sourcePort)

Where:

  • recPort = receiver port number

  • sourcePort = stimulus port number

For FCA Calibrations:

Learn more about this setting.

  • "SMC_2P" (Response + Input + Output)  All four sweeps required. Most accurate.

  • "SMCRsp+IN"  No Output match. All four sweeps required.

  • "SMCRsp+OUT"  No Input match. All four sweeps required.

  • "SMCRsp"  No Input or Output match. Saves two sweeps.

For VMC, multiple Cal types are not available.

For Gain Compression Cal

where r = receive port; s = source port

  • "GCA 2P (r,s)”  - full 2-port cal

  • “GCA Enh Resp (r,s)”  - Enhanced Response Cal

Examples

CALC:CORR:TYPE "Scalar Mixer Cal"

Query Syntax

CALCulate<cnum>:CORRection:TYPE?

Return Type

String

Default

Not Applicable


CALCulate<cnum>:CORRection:OFFSet[:MAGNitude] <num>  Superseded

Note: This command is replaced with SENS:CORR:RPOWer:OFFSet[:AMPLitude].
To set data trace magnitude offset, use CALC:OFFS:MAGN
This command does NOT function for FCA measurements.

See an example of a Receiver Power Calibration.

 

(Read-Write)

For Receiver Power Calibration, specifies the power level to which the selected (unratioed) measurement data is to be adjusted.  This command applies only when the selected measurement is of unratioed power.

Parameters

 

<cnum>

Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1.

<num>

Cal power level in dBm. No limits are enforced on this value, but the PNA receivers themselves have maximum and minimum power specifications (that may differ between PNA models) which this value must comply with for a valid receiver power cal.

Examples

CALC:CORR:OFFS 10DBM
calculate1:correction:offset:magnitude maximum

Query Syntax

CALCulate<cnum>:CORRection:OFFSet[:MAGNitude]?

Return Type

Numeric

Default

0dBm


CALCulate<cnum>:CORRection:OFFSet:PHASe <num>[<char>]    Superseded

Note: This command is replaced with CALC:OFFS:PHASe

(Read-Write) Sets the phase offset for the selected measurement.

Parameters

 

<cnum>

Channel number of the measurement. There must be a selected measurement on that channel. If unspecified, <cnum> is set to 1.

<num>

Offset phase value. Choose any number between:
-360
and 360

<char>

 

Units for phase. OPTIONAL. Choose either:
DEG
- Degrees (default)
RAD
- Radians

Examples

CALC:CORR:OFFS:PHAS 10
calculate:correction:offset:phase 20rad

Query Syntax

CALCulate:CORRection:OFFSet:PHASe?

Return Type

Numeric, returned value always in degrees

Default

0 degrees



Last modified:

19-Jul-2010

Added Calc:Corr:Indicator

22-Sep-2009

Removed VMC from Corr:Type

6-Feb-2009

Added two commands

12-Feb-2008

Fixed typo

9/12/06

MQ Modified Calc:Corr for multiport.