from ...Internal.Core import Core
from ...Internal.CommandsGroup import CommandsGroup
from ...Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class IqModulatorCls:
"""IqModulator commands group definition. 2 total commands, 0 Subgroups, 2 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("iqModulator", core, parent)
[docs] def get_full(self) -> bool:
"""SCPI: CALibration<HW>:IQModulator:FULL \n
Snippet: value: bool = driver.calibration.iqModulator.get_full() \n
No command help available \n
:return: full: No help available
"""
response = self._core.io.query_str('CALibration<HwInstance>:IQModulator:FULL?')
return Conversions.str_to_bool(response)
[docs] def get_local(self) -> bool:
"""SCPI: CALibration<HW>:IQModulator:LOCal \n
Snippet: value: bool = driver.calibration.iqModulator.get_local() \n
Starts adjustment of the I/Q modulator for the currently set frequency and baseband gain. The I/Q modulator is adjusted
with respect to carrier leakage, I/Q imbalance and quadrature. \n
:return: local: 1| ON| 0| OFF
"""
response = self._core.io.query_str('CALibration<HwInstance>:IQModulator:LOCal?')
return Conversions.str_to_bool(response)