Source code for RsCmwLteSig.Implementations.Configure.Downlink.Pcc.Rsepre

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class RsepreCls: """Rsepre commands group definition. 1 total commands, 0 Subgroups, 1 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("rsepre", core, parent)
[docs] def get_level(self) -> float: """SCPI: CONFigure:LTE:SIGNaling<instance>:DL[:PCC]:RSEPre:LEVel \n Snippet: value: float = driver.configure.downlink.pcc.rsepre.get_level() \n Defines the energy per resource element (EPRE) of the cell-specific reference signal (C-RS) . The power levels of resource elements used for other channels/signals are defined relative to this power level. The allowed value range depends basically on the used connector, the number of allocated resource blocks (specified via the cell bandwidth) and the external attenuation in the output path. levelRS EPRE, min = levelconnector, min - 10*log10(12*NRB) - ext attout levelRS EPRE, max = levelconnector, max - 10*log10(12*NRB) - ext attout - 15 dB With levelconnector, min = -130 dBm (-120 dBm) , levelconnector, max = -5 dBm (8 dBm) for [RF COM] ([RF OUT]) . Notice also the ranges quoted in the data sheet. The range is also affected by active AWGN ('Downlink Power Levels' parameter) , internal fading (insertion loss value) , CSI-RS power, number of MIMO transmit antennas. \n :return: level: numeric Range: see above , Unit: dBm/15kHz """ response = self._core.io.query_str('CONFigure:LTE:SIGNaling<Instance>:DL:PCC:RSEPre:LEVel?') return Conversions.str_to_float(response)
[docs] def set_level(self, level: float) -> None: """SCPI: CONFigure:LTE:SIGNaling<instance>:DL[:PCC]:RSEPre:LEVel \n Snippet: driver.configure.downlink.pcc.rsepre.set_level(level = 1.0) \n Defines the energy per resource element (EPRE) of the cell-specific reference signal (C-RS) . The power levels of resource elements used for other channels/signals are defined relative to this power level. The allowed value range depends basically on the used connector, the number of allocated resource blocks (specified via the cell bandwidth) and the external attenuation in the output path. levelRS EPRE, min = levelconnector, min - 10*log10(12*NRB) - ext attout levelRS EPRE, max = levelconnector, max - 10*log10(12*NRB) - ext attout - 15 dB With levelconnector, min = -130 dBm (-120 dBm) , levelconnector, max = -5 dBm (8 dBm) for [RF COM] ([RF OUT]) . Notice also the ranges quoted in the data sheet. The range is also affected by active AWGN ('Downlink Power Levels' parameter) , internal fading (insertion loss value) , CSI-RS power, number of MIMO transmit antennas. \n :param level: numeric Range: see above , Unit: dBm/15kHz """ param = Conversions.decimal_value_to_str(level) self._core.io.write(f'CONFigure:LTE:SIGNaling<Instance>:DL:PCC:RSEPre:LEVel {param}')