Source code for RsCmwWcdmaMeas.Implementations.MultiEval_.Carrier_.Trace_.Psteps_.StandardDev

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 StandardDev: """StandardDev commands group definition. 2 total commands, 0 Sub-groups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._base = CommandsGroup("standardDev", core, parent)
[docs] def read(self, carrier=repcap.Carrier.Default) -> List[float]: """SCPI: READ:WCDMa:MEASurement<instance>:MEValuation:CARRier<carrier>:TRACe:PSTeps:SDEViation \n Snippet: value: List[float] = driver.multiEval.carrier.trace.psteps.standardDev.read(carrier = repcap.Carrier.Default) \n Returns the values of the UE power step traces for up to 120 slots. Each power step is calculated as the difference between the UE power of a half-slot or full-slot and the preceding half-slot or full-slot, depending on the measurement period (see method RsCmwWcdmaMeas.Configure.MultiEval.Mperiod.modulation) . As there is no previous slot / halfslot for slot 0, the first returned power step value equals NCAP. The number of results depends on the measurement length (see method RsCmwWcdmaMeas.Configure.MultiEval.msCount) . The results of the current, average, minimum, maximum and standard deviation traces can be retrieved. The minimum and standard deviation trace cannot be displayed at the GUI. See also 'Detailed Views: UE Power and Power Steps' \n Use RsCmwWcdmaMeas.reliability.last_value to read the updated reliability indicator. \n :param carrier: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Carrier') :return: power_steps: No help available""" carrier_cmd_val = self._base.get_repcap_cmd_value(carrier, repcap.Carrier) suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_bin_or_ascii_float_list_suppressed(f'READ:WCDMa:MEASurement<Instance>:MEValuation:CARRier{carrier_cmd_val}:TRACe:PSTeps:SDEViation?', suppressed) return response
[docs] def fetch(self, carrier=repcap.Carrier.Default) -> List[float]: """SCPI: FETCh:WCDMa:MEASurement<instance>:MEValuation:CARRier<carrier>:TRACe:PSTeps:SDEViation \n Snippet: value: List[float] = driver.multiEval.carrier.trace.psteps.standardDev.fetch(carrier = repcap.Carrier.Default) \n Returns the values of the UE power step traces for up to 120 slots. Each power step is calculated as the difference between the UE power of a half-slot or full-slot and the preceding half-slot or full-slot, depending on the measurement period (see method RsCmwWcdmaMeas.Configure.MultiEval.Mperiod.modulation) . As there is no previous slot / halfslot for slot 0, the first returned power step value equals NCAP. The number of results depends on the measurement length (see method RsCmwWcdmaMeas.Configure.MultiEval.msCount) . The results of the current, average, minimum, maximum and standard deviation traces can be retrieved. The minimum and standard deviation trace cannot be displayed at the GUI. See also 'Detailed Views: UE Power and Power Steps' \n Use RsCmwWcdmaMeas.reliability.last_value to read the updated reliability indicator. \n :param carrier: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Carrier') :return: power_steps: No help available""" carrier_cmd_val = self._base.get_repcap_cmd_value(carrier, repcap.Carrier) suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_bin_or_ascii_float_list_suppressed(f'FETCh:WCDMa:MEASurement<Instance>:MEValuation:CARRier{carrier_cmd_val}:TRACe:PSTeps:SDEViation?', suppressed) return response