Source code for RsCmwNrFr1Meas.Implementations.NrSubMeas.MultiEval.Trace.Cc.EvmSymbol.Average

from typing import List

from .......Internal.Core import Core
from .......Internal.CommandsGroup import CommandsGroup
from .......Internal.ArgSingleSuppressed import ArgSingleSuppressed
from .......Internal.Types import DataType
from ....... import repcap


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class AverageCls: """Average commands group definition. 2 total commands, 0 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("average", core, parent)
[docs] def read(self, carrierComponent=repcap.CarrierComponent.Default) -> List[float]: """SCPI: READ:NRSub:MEASurement<Instance>:MEValuation:TRACe[:CC<no>]:EVMSymbol:AVERage \n Snippet: value: List[float] = driver.nrSubMeas.multiEval.trace.cc.evmSymbol.average.read(carrierComponent = repcap.CarrierComponent.Default) \n Returns the values of the EVM vs modulation symbol trace for carrier <no>. See also 'View EVM'. \n Use RsCmwNrFr1Meas.reliability.last_value to read the updated reliability indicator. \n :param carrierComponent: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Cc') :return: ratio: float Comma-separated list of EVM values, one value per modulation symbol Unit: %""" carrierComponent_cmd_val = self._cmd_group.get_repcap_cmd_value(carrierComponent, repcap.CarrierComponent) suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_bin_or_ascii_float_list_suppressed(f'READ:NRSub:MEASurement<Instance>:MEValuation:TRACe:CC{carrierComponent_cmd_val}:EVMSymbol:AVERage?', suppressed) return response
[docs] def fetch(self, carrierComponent=repcap.CarrierComponent.Default) -> List[float]: """SCPI: FETCh:NRSub:MEASurement<Instance>:MEValuation:TRACe[:CC<no>]:EVMSymbol:AVERage \n Snippet: value: List[float] = driver.nrSubMeas.multiEval.trace.cc.evmSymbol.average.fetch(carrierComponent = repcap.CarrierComponent.Default) \n Returns the values of the EVM vs modulation symbol trace for carrier <no>. See also 'View EVM'. \n Use RsCmwNrFr1Meas.reliability.last_value to read the updated reliability indicator. \n :param carrierComponent: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Cc') :return: ratio: float Comma-separated list of EVM values, one value per modulation symbol Unit: %""" carrierComponent_cmd_val = self._cmd_group.get_repcap_cmd_value(carrierComponent, repcap.CarrierComponent) suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_bin_or_ascii_float_list_suppressed(f'FETCh:NRSub:MEASurement<Instance>:MEValuation:TRACe:CC{carrierComponent_cmd_val}:EVMSymbol:AVERage?', suppressed) return response