Source code for RsSmw.Implementations.Calibration.IqModulator

from ...Internal.Core import Core
from ...Internal.CommandsGroup import CommandsGroup
from ...Internal import Conversions


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class IqModulatorCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("iqModulator", core, parent)

[docs] def get_local(self) -> bool: """ ``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. :return: local: 1 | ON | 0| OFF """ response = self._core.io.query_str('CALibration<HwInstance>:IQModulator:LOCal?') return Conversions.str_to_bool(response)