Source code for RsSmw.Implementations.Calibration.Loscillator.Coupling

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


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

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

[docs] def get_local(self) -> bool: """ ``CALibration<HW>:LOSCillator:COUPling:LOCal`` \n Snippet: ``value: bool = driver.calibration.loscillator.coupling.get_local()`` \n Adjusts the internal LO level at the I/Q modulator automatically, when an external LO signal is fed. :return: coupling_level: 1 | ON | 0| OFF """ response = self._core.io.query_str('CALibration<HwInstance>:LOSCillator:COUPling:LOCal?') return Conversions.str_to_bool(response)