Source code for RsFsw.Implementations.Applications.K18_AmplifierEt.Configure.Gmp.Lag.Order.Xterm

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


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

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

[docs] def set(self, level: float) -> None: """ ``CONFigure:GMP:LAG:ORDer:XTERm`` \n Snippet: ``driver.applications.k18AmplifierEt.configure.gmp.lag.order.xterm.set(level = 1.0)`` \n Sets the lagging cross-term order of the generalized memory polynomial. """ param = Conversions.decimal_value_to_str(level) self._core.io.write(f'CONFigure:GMP:LAG:ORDer:XTERm {param}')
[docs] def get(self) -> float: """ ``CONFigure:GMP:LAG:ORDer:XTERm`` \n Snippet: ``value: float = driver.applications.k18AmplifierEt.configure.gmp.lag.order.xterm.get()`` \n Sets the lagging cross-term order of the generalized memory polynomial. """ response = self._core.io.query_str(f'CONFigure:GMP:LAG:ORDer:XTERm?') return Conversions.str_to_float(response)