from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class AggregatedCls:
"""
| Commands in total: 3
| Subgroups: 0
| Direct child commands: 3
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("aggregated", core, parent)
[docs]
def get_low(self) -> float:
"""
``CONFigure:NRSub:MEASurement<Instance>:CAGGregation:FREQuency:AGGRegated:LOW`` \n
Snippet: ``value: float = driver.configure.nrSubMeas.caggregation.frequency.aggregated.get_low()`` \n
Queries the lower edge of the aggregated bandwidth.
:return: frequency_low: float
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:CAGGregation:FREQuency:AGGRegated:LOW?')
return Conversions.str_to_float(response)
[docs]
def get_center(self) -> float:
"""
``CONFigure:NRSub:MEASurement<Instance>:CAGGregation:FREQuency:AGGRegated:CENTer`` \n
Snippet: ``value: float = driver.configure.nrSubMeas.caggregation.frequency.aggregated.get_center()`` \n
Queries the center frequency of the aggregated bandwidth.
:return: frequency_center: float
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:CAGGregation:FREQuency:AGGRegated:CENTer?')
return Conversions.str_to_float(response)
[docs]
def get_high(self) -> float:
"""
``CONFigure:NRSub:MEASurement<Instance>:CAGGregation:FREQuency:AGGRegated:HIGH`` \n
Snippet: ``value: float = driver.configure.nrSubMeas.caggregation.frequency.aggregated.get_high()`` \n
Queries the upper edge of the aggregated bandwidth.
:return: frequency_high: float
"""
response = self._core.io.query_str('CONFigure:NRSub:MEASurement<Instance>:CAGGregation:FREQuency:AGGRegated:HIGH?')
return Conversions.str_to_float(response)