Source code for RsCmwEvdoMeas.Implementations.MultiEval_.ListPy_.Modulation_.Wquality_.Maximum

from typing import List

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class Maximum: """Maximum commands group definition. 2 total commands, 0 Sub-groups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._base = CommandsGroup("maximum", core, parent)
[docs] def fetch(self) -> List[float]: """SCPI: FETCh:EVDO:MEASurement<instance>:MEValuation:LIST:MODulation:WQUality:MAXimum \n Snippet: value: List[float] = driver.multiEval.listPy.modulation.wquality.maximum.fetch() \n Returns waveform quality (statistical) values for all active list mode segments - overall, at minimum and at maximum AT power. The values described below are returned by FETCh commands. CALCulate commands return limit check results instead, one value for each result listed below. \n Use RsCmwEvdoMeas.reliability.last_value to read the updated reliability indicator. \n :return: wav_quality: float Range: 0 to 1""" suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_bin_or_ascii_float_list_suppressed(f'FETCh:EVDO:MEASurement<Instance>:MEValuation:LIST:MODulation:WQUality:MAXimum?', suppressed) return response
[docs] def calculate(self) -> List[float]: """SCPI: CALCulate:EVDO:MEASurement<instance>:MEValuation:LIST:MODulation:WQUality:MAXimum \n Snippet: value: List[float] = driver.multiEval.listPy.modulation.wquality.maximum.calculate() \n Returns waveform quality (statistical) values for all active list mode segments - overall, at minimum and at maximum AT power. The values described below are returned by FETCh commands. CALCulate commands return limit check results instead, one value for each result listed below. \n Use RsCmwEvdoMeas.reliability.last_value to read the updated reliability indicator. \n :return: wav_quality: float Range: 0 to 1""" suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_bin_or_ascii_float_list_suppressed(f'CALCulate:EVDO:MEASurement<Instance>:MEValuation:LIST:MODulation:WQUality:MAXimum?', suppressed) return response