Source code for RsCmwBluetoothMeas.Implementations.Configure.MultiEval.Qhsl.FilterPy

from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
from ..... import enums


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class FilterPyCls: """FilterPy commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("filterPy", core, parent) # noinspection PyTypeChecker
[docs] def get_bandwidth(self) -> enums.FilterWidth: """SCPI: CONFigure:BLUetooth:MEASurement<Instance>:MEValuation:QHSL:FILTer:BWIDth \n Snippet: value: enums.FilterWidth = driver.configure.multiEval.qhsl.filterPy.get_bandwidth() \n No command help available \n :return: filter_bandwidth: No help available """ response = self._core.io.query_str('CONFigure:BLUetooth:MEASurement<Instance>:MEValuation:QHSL:FILTer:BWIDth?') return Conversions.str_to_scalar_enum(response, enums.FilterWidth)
[docs] def set_bandwidth(self, filter_bandwidth: enums.FilterWidth) -> None: """SCPI: CONFigure:BLUetooth:MEASurement<Instance>:MEValuation:QHSL:FILTer:BWIDth \n Snippet: driver.configure.multiEval.qhsl.filterPy.set_bandwidth(filter_bandwidth = enums.FilterWidth.NARRow) \n No command help available \n :param filter_bandwidth: No help available """ param = Conversions.enum_scalar_to_str(filter_bandwidth, enums.FilterWidth) self._core.io.write(f'CONFigure:BLUetooth:MEASurement<Instance>:MEValuation:QHSL:FILTer:BWIDth {param}')