Source code for RsSmw.Implementations.Source.Correction.Optimize.Rf.Linearize

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


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

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

[docs] def get_adjust(self) -> bool: """ ``[SOURce<HW>]:CORRection:OPTimize:RF:LINearize:ADJust`` \n Snippet: ``value: bool = driver.source.correction.optimize.rf.linearize.get_adjust()`` \n Measures the AM/AM nonlinearity on the RF chain for the current frequency. During the measurement, the instrument interrupts signal generation. :return: adjust_result: 1 | ON | 0| OFF """ response = self._core.io.query_str('SOURce<HwInstance>:CORRection:OPTimize:RF:LINearize:ADJust?') return Conversions.str_to_bool(response)