Source code for RsCMPX_LteMeas.Implementations.LteMeas.MultiEval.ListPy.Modulation.Perror.Peak.Low.Extreme

from typing import List

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class ExtremeCls: """Extreme commands group definition. 2 total commands, 0 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("extreme", core, parent)
[docs] def fetch(self) -> List[float]: """SCPI: FETCh:LTE:MEASurement<Instance>:MEValuation:LIST:MODulation:PERRor:PEAK:LOW:EXTReme \n Snippet: value: List[float] = driver.lteMeas.multiEval.listPy.modulation.perror.peak.low.extreme.fetch() \n Return phase error peak values for low and high EVM window position, for all measured list mode segments. The values described below are returned by FETCh commands. CALCulate commands return limit check results instead, one value for each result listed below. \n Suppressed linked return values: reliability \n :return: ph_error_peak_low: Comma-separated list of values, one per measured segment""" suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_bin_or_ascii_float_list_suppressed(f'FETCh:LTE:MEASurement<Instance>:MEValuation:LIST:MODulation:PERRor:PEAK:LOW:EXTReme?', suppressed) return response
[docs] def calculate(self) -> List[float or bool]: """SCPI: CALCulate:LTE:MEASurement<Instance>:MEValuation:LIST:MODulation:PERRor:PEAK:LOW:EXTReme \n Snippet: value: List[float or bool] = driver.lteMeas.multiEval.listPy.modulation.perror.peak.low.extreme.calculate() \n Return phase error peak values for low and high EVM window position, for all measured list mode segments. The values described below are returned by FETCh commands. CALCulate commands return limit check results instead, one value for each result listed below. \n Suppressed linked return values: reliability \n :return: ph_error_peak_low: (float or boolean items) Comma-separated list of values, one per measured segment""" suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_str_suppressed(f'CALCulate:LTE:MEASurement<Instance>:MEValuation:LIST:MODulation:PERRor:PEAK:LOW:EXTReme?', suppressed) return Conversions.str_to_float_or_bool_list(response)