IQResults

Provides methods to fetch and read the IQ measurement results.

class nirfmxvna.iq_results.IQResults(signal_obj)[source]

Bases: object

Provides methods to fetch and read the IQ measurement results.

fetch_data(selector_string, timeout, data)[source]
Parameters:
  • selector_string (string)

  • timeout (float)

  • data (numpy.complex64)

Returns:

x0 (float): dx (float): error_code (int):

Returns the status code of this method. The status code either indicates success or describes a warning condition.

Return type:

Tuple (x0, dx, error_code)

get_correction_state(selector_string)[source]

Gets the error correction state of the VNA IQ measurement.

Use “iq<n>” as the selector string to read this attribute.

Name (Value)

Description

None (0)

Error correction is not applied.

Corrected (1)

Error correction is applied without interpolation using the error terms from the calset.

Interpolated (2)

Error correction is applied with error terms for at least one sweep point interpolated from the calset error terms.

Settings Modified (3)

Settings during the measurment differ from those used during calibration.

Parameters:

selector_string (string) – Pass an empty string.

Returns:

attr_val (enums.IQCorrectionState):

Returns the error correction state of the VNA IQ measurement.

error_code (int):

Returns the status code of this method. The status code either indicates success or describes a warning condition.

Return type:

Tuple (attr_val, error_code)