Offset

M9370A / M9371A / M9372A / M9374A / M9375A

Calculate:Offset Commands


Allows the data trace magnitude and phase to be offset.

 

Click on a keyword to view the command details.

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>:OFFSet:MAGNitude <num>

(Read-Write) Offsets the data trace magnitude by the specified value.

To offset the data trace magnitude to a slope value that changes with frequency, use CALC:OFFS:MAGN:SLOP

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>

Offset value in dB.

Examples

CALC:OFFS:MAGN:4 calculate1:offset:magnitude -2

Query Syntax

CALCulate<cnum>:OFFSet:MAGNitude?

Return Type

Numeric

Default

0


CALCulate<cnum>:OFFSet:MAGNitude:SLOPe <num>

(Read-Write) Offsets the data trace magnitude to a value that changes linearly with frequency. The offset slope begins at 0 Hz.

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>

Offset slope value in dB/ 1GHz.

Examples

CALC:OFFS:MAGN:SLOP 1 'Offset slope set to 1dB/GHz
calculate1:offset:magnitude:slope -2 'Offset slope set to -2dB/GHz

Query Syntax

CALCulate<cnum>:OFFSet:MAGNitude:SLOPe?

Return Type

Numeric

Default

0


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

(Read-Write) Sets the phase offset 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>

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

<char>

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

Examples

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

Query Syntax

CALCulate:OFFSet:PHASe?

Return Type

Numeric, returned value always in degrees

Default

0 degrees