Source code for RsCmwEvdoMeas.Implementations.MultiEval_.Trace_.Acp_.Maximum_.Relative

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 Relative: """Relative commands group definition. 3 total commands, 0 Sub-groups, 3 group commands""" def __init__(self, core: Core, parent): self._core = core self._base = CommandsGroup("relative", core, parent)
[docs] def read(self) -> List[float]: """SCPI: READ:EVDO:MEASurement<instance>:MEValuation:TRACe:ACP:MAXimum[:RELative] \n Snippet: value: List[float] = driver.multiEval.trace.acp.maximum.relative.read() \n Returns the adjacent channel power measured at a series of frequencies. The current, average and maximum traces can be retrieved. The frequencies are determined by the offset values defined via the commands method RsCmwEvdoMeas.Configure. MultiEval.Acp.Foffsets.lower and method RsCmwEvdoMeas.Configure.MultiEval.Acp.Foffsets.upper. All defined offset values are considered (irrespective of their activation status) . The values described below are returned by FETCh and READ 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: max_acp: No help available""" suppressed = ArgSingleSuppressed(0, DataType.Integer, False, 1, 'Reliability') response = self._core.io.query_bin_or_ascii_float_list_suppressed(f'READ:EVDO:MEASurement<Instance>:MEValuation:TRACe:ACP:MAXimum:RELative?', suppressed) return response
[docs] def fetch(self) -> List[float]: """SCPI: FETCh:EVDO:MEASurement<instance>:MEValuation:TRACe:ACP:MAXimum[:RELative] \n Snippet: value: List[float] = driver.multiEval.trace.acp.maximum.relative.fetch() \n Returns the adjacent channel power measured at a series of frequencies. The current, average and maximum traces can be retrieved. The frequencies are determined by the offset values defined via the commands method RsCmwEvdoMeas.Configure. MultiEval.Acp.Foffsets.lower and method RsCmwEvdoMeas.Configure.MultiEval.Acp.Foffsets.upper. All defined offset values are considered (irrespective of their activation status) . The values described below are returned by FETCh and READ 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: max_acp: No help available""" 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:TRACe:ACP:MAXimum:RELative?', suppressed) return response
[docs] def calculate(self) -> List[float]: """SCPI: CALCulate:EVDO:MEASurement<instance>:MEValuation:TRACe:ACP:MAXimum[:RELative] \n Snippet: value: List[float] = driver.multiEval.trace.acp.maximum.relative.calculate() \n Returns the adjacent channel power measured at a series of frequencies. The current, average and maximum traces can be retrieved. The frequencies are determined by the offset values defined via the commands method RsCmwEvdoMeas.Configure. MultiEval.Acp.Foffsets.lower and method RsCmwEvdoMeas.Configure.MultiEval.Acp.Foffsets.upper. All defined offset values are considered (irrespective of their activation status) . The values described below are returned by FETCh and READ 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: max_acp: No help available""" 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:TRACe:ACP:MAXimum:RELative?', suppressed) return response