Source code for RsFsw.Implementations.Applications.K50_Spurious.Sense.Mixer.Loss.Table.High

from ........Internal.Core import Core
from ........Internal.CommandsGroup import CommandsGroup
from ........Internal import Conversions
from ........Internal.Utilities import trim_str_response


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

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

[docs] def set(self, table_high: str) -> None: """ ``[SENSe]:MIXer:LOSS:TABLe:HIGH`` \n Snippet: ``driver.applications.k50Spurious.sense.mixer.loss.table.high.set(table_high = 'abc')`` \n Defines the conversion loss table to be used for the high (second) range. """ param = Conversions.value_to_quoted_str(table_high) self._core.io.write(f'SENSe:MIXer:LOSS:TABLe:HIGH {param}')
[docs] def get(self, table_high: str) -> str: """ ``[SENSe]:MIXer:LOSS:TABLe:HIGH`` \n Snippet: ``value: str = driver.applications.k50Spurious.sense.mixer.loss.table.high.get(table_high = 'abc')`` \n Defines the conversion loss table to be used for the high (second) range. """ param = Conversions.value_to_quoted_str(table_high) response = self._core.io.query_str(f'SENSe:MIXer:LOSS:TABLe:HIGH? {param}') return trim_str_response(response)