Source code for RsCma.Implementations.Configure.Vse.Measurement.IqRecorder.Lte

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class LteCls: """Lte commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("lte", core, parent) # noinspection PyTypeChecker
[docs] def get_cbwidth(self) -> enums.LteChannelBandwidth: """SCPI: CONFigure:VSE:MEASurement<Instance>:IQRecorder:LTE:CBWidth \n Snippet: value: enums.LteChannelBandwidth = driver.configure.vse.measurement.iqRecorder.lte.get_cbwidth() \n Sets the 'LTE' channel bandwidth of the received RF signals for I/Q data analysis. \n :return: channel_bandwidth: F3M | F5M | F10M | F20M """ response = self._core.io.query_str('CONFigure:VSE:MEASurement<Instance>:IQRecorder:LTE:CBWidth?') return Conversions.str_to_scalar_enum(response, enums.LteChannelBandwidth)
[docs] def set_cbwidth(self, channel_bandwidth: enums.LteChannelBandwidth) -> None: """SCPI: CONFigure:VSE:MEASurement<Instance>:IQRecorder:LTE:CBWidth \n Snippet: driver.configure.vse.measurement.iqRecorder.lte.set_cbwidth(channel_bandwidth = enums.LteChannelBandwidth.F10M) \n Sets the 'LTE' channel bandwidth of the received RF signals for I/Q data analysis. \n :param channel_bandwidth: F3M | F5M | F10M | F20M """ param = Conversions.enum_scalar_to_str(channel_bandwidth, enums.LteChannelBandwidth) self._core.io.write(f'CONFigure:VSE:MEASurement<Instance>:IQRecorder:LTE:CBWidth {param}')