from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
from ......Internal.Utilities import trim_str_response
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class PcmGainCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("pcmGain", core, parent)
[docs]
def get(self) -> str:
"""
``FETCh:BURSt:PCMGain`` \n
Snippet: ``value: str = driver.applications.k91Wlan.fetch.burst.pcmGain.get()`` \n
Returns the physical channel gain result which is used as the reference for the 'Spectrum Flatness' limits when 'Spectrum
Flatness' results are based on physical channels (see method
``RsFsw.applications.k91Wlan.configure.burst.spectrum.flatness.cselect.set()`` ) . For details see 'Modulation accuracy,
flatness and tolerance parameters'.
:return: result: comma-separated list of values; one value for each RX stream Unit: dBm
"""
response = self._core.io.query_str(f'FETCh:BURSt:PCMGain?')
return trim_str_response(response)