Source code for RsCMPX_NrFr1Meas.Implementations.Configure.NrSubMeas.Prach.Limit.Pdynamics.Ttolerance.Cblt

from ........Internal.Core import Core
from ........Internal.CommandsGroup import CommandsGroup
from ........Internal.Types import DataType
from ........Internal.StructBase import StructBase
from ........Internal.ArgStruct import ArgStruct
from ........Internal.ArgSingleList import ArgSingleList
from ........Internal.ArgSingle import ArgSingle


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

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

[docs] def set(self, tt_power_less_3_g: float, tt_power_great_3_g: float) -> None: """ ``CONFigure:NRSub:MEASurement<Instance>:PRACh:LIMit:PDYNamics:TTOLerance:CBLT`` \n Snippet: ``driver.configure.nrSubMeas.prach.limit.pdynamics.ttolerance.cblt.set(tt_power_less_3_g = 1.0, tt_power_great_3_g = 1.0)`` \n Defines test tolerances for power dynamics limits, for channel BW up to 40 MHz. :param tt_power_less_3_g: Tolerance for carrier center frequencies up to 3 GHz. :param tt_power_great_3_g: Tolerance for carrier center frequencies 3 GHz. """ param = ArgSingleList().compose_cmd_string(ArgSingle('tt_power_less_3_g', tt_power_less_3_g, DataType.Float), ArgSingle('tt_power_great_3_g', tt_power_great_3_g, DataType.Float)) self._core.io.write(f'CONFigure:NRSub:MEASurement<Instance>:PRACh:LIMit:PDYNamics:TTOLerance:CBLT {param}'.rstrip())
# noinspection PyTypeChecker
[docs] class CbltStruct(StructBase): """ Response structure. Fields: \n - 1 Tt_Power_Less_3_G: float: Tolerance for carrier center frequencies up to 3 GHz. - 2 Tt_Power_Great_3_G: float: Tolerance for carrier center frequencies 3 GHz. """ __meta_args_list = [ ArgStruct.scalar_float('Tt_Power_Less_3_G'), ArgStruct.scalar_float('Tt_Power_Great_3_G')] def __init__(self): StructBase.__init__(self, self) self.Tt_Power_Less_3_G: float = None self.Tt_Power_Great_3_G: float = None
[docs] def get(self) -> CbltStruct: """ ``CONFigure:NRSub:MEASurement<Instance>:PRACh:LIMit:PDYNamics:TTOLerance:CBLT`` \n Snippet: ``value: CbltStruct = driver.configure.nrSubMeas.prach.limit.pdynamics.ttolerance.cblt.get()`` \n Defines test tolerances for power dynamics limits, for channel BW up to 40 MHz. :return: structure: for return value, see the help for CbltStruct structure arguments. """ return self._core.io.query_struct(f'CONFigure:NRSub:MEASurement<Instance>:PRACh:LIMit:PDYNamics:TTOLerance:CBLT?', self.__class__.CbltStruct())