Source code for RsCMPX_NrFr1Meas.Implementations.Configure.NrSubMeas.MultiEval.Limit.Qpsk.Ibe

from ........Internal.Core import Core
from ........Internal.CommandsGroup import CommandsGroup
from ........Internal.StructBase import StructBase
from ........Internal.ArgStruct import ArgStruct


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

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

	@property
	def iqOffset(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_iqOffset'):
			from .IqOffset import IqOffsetCls
			self._iqOffset = IqOffsetCls(self._core, self._cmd_group)
		return self._iqOffset

	# noinspection PyTypeChecker
[docs] class ValueStruct(StructBase): """ Structure for setting input parameters. Fields: \n - Enable: bool: OFF: disables the limit check ON: enables the limit check - Minimum: float: numeric - Evm: float: numeric - Rb_Power: float: numeric - Iq_Image_Lesser: float: I/Q image for low TX power range - Iq_Image_Greater: float: I/Q image for high TX power range """ __meta_args_list = [ ArgStruct.scalar_bool('Enable'), ArgStruct.scalar_float('Minimum'), ArgStruct.scalar_float('Evm'), ArgStruct.scalar_float('Rb_Power'), ArgStruct.scalar_float('Iq_Image_Lesser'), ArgStruct.scalar_float('Iq_Image_Greater')] def __init__(self): StructBase.__init__(self, self) self.Enable: bool=None self.Minimum: float=None self.Evm: float=None self.Rb_Power: float=None self.Iq_Image_Lesser: float=None self.Iq_Image_Greater: float=None
[docs] def get_value(self) -> ValueStruct: """ ``CONFigure:NRSub:MEASurement<Instance>:MEValuation:LIMit:QPSK:IBE`` \n Snippet: ``value: ValueStruct = driver.configure.nrSubMeas.multiEval.limit.qpsk.ibe.get_value()`` \n Defines parameters used for calculation of an upper limit for the in-band emission (QPSK modulation) , see 'In-band emissions limits'. :return: structure: for return value, see the help for ValueStruct structure arguments. """ return self._core.io.query_struct('CONFigure:NRSub:MEASurement<Instance>:MEValuation:LIMit:QPSK:IBE?', self.__class__.ValueStruct())
[docs] def set_value(self, value: ValueStruct) -> None: """ ``CONFigure:NRSub:MEASurement<Instance>:MEValuation:LIMit:QPSK:IBE`` \n Snippet with structure: \n structure = driver.configure.nrSubMeas.multiEval.limit.qpsk.ibe.ValueStruct() \n structure.Enable: bool = False \n structure.Minimum: float = 1.0 \n structure.Evm: float = 1.0 \n structure.Rb_Power: float = 1.0 \n structure.Iq_Image_Lesser: float = 1.0 \n structure.Iq_Image_Greater: float = 1.0 \n driver.configure.nrSubMeas.multiEval.limit.qpsk.ibe.set_value(value = structure) \n Defines parameters used for calculation of an upper limit for the in-band emission (QPSK modulation) , see 'In-band emissions limits'. :param value: see the help for ValueStruct structure arguments. """ self._core.io.write_struct('CONFigure:NRSub:MEASurement<Instance>:MEValuation:LIMit:QPSK:IBE', value)
def clone(self) -> 'IbeCls': """ Clones the group by creating new object from it and its whole existing subgroups. Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group. """ new_group = IbeCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group