from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
from ....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class SbandCls:
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("sband", core, parent)
[docs]
def get(self) -> float:
"""
``OUTPut:IF:SBANd`` \n
Snippet: ``value: float = driver.output.ifreq.sband.get()`` \n
Queries the sideband provided at the 'IF OUT 2 GHz' connector compared to the sideband of the RF signal. The sideband
depends on the current center frequency. Is available only if the output is configured for IF2 (see method
``RsFsw.output.ifreq.source.set()`` ) . For more information and prerequisites see 'IF and video signal output'.
:return: side_band: NORMal The sideband at the output is identical to the RF signal. INVerted The sideband at the output is the inverted RF signal sideband.
"""
response = self._core.io.query_str(f'OUTPut:IF:SBANd?')
return Conversions.str_to_float(response)