[docs]classSbandCls:"""Sband commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("sband",core,parent)
[docs]defset(self,sideband_pos:enums.SidebandPos)->None:"""SCPI: [SENSe]:DDEMod:SBANd \n Snippet: driver.applications.k70Vsa.sense.ddemod.sband.set(sideband_pos = enums.SidebandPos.INVerse) \n Selects the sideband for the demodulation. Note that this command is maintained for compatibility reasons only. Use the SENS:SWAP:IQ command for new remote control programs (see [SENSe:]SWAPiq) . \n :param sideband_pos: NORMal | INVerse NORMal Normal (non-inverted) position INVerse Inverted position """param=Conversions.enum_scalar_to_str(sideband_pos,enums.SidebandPos)self._core.io.write(f'SENSe:DDEMod:SBANd {param}')
# noinspection PyTypeChecker
[docs]defget(self)->enums.SidebandPos:"""SCPI: [SENSe]:DDEMod:SBANd \n Snippet: value: enums.SidebandPos = driver.applications.k70Vsa.sense.ddemod.sband.get() \n Selects the sideband for the demodulation. Note that this command is maintained for compatibility reasons only. Use the SENS:SWAP:IQ command for new remote control programs (see [SENSe:]SWAPiq) . \n :return: sideband_pos: NORMal | INVerse NORMal Normal (non-inverted) position INVerse Inverted position"""response=self._core.io.query_str(f'SENSe:DDEMod:SBANd?')returnConversions.str_to_scalar_enum(response,enums.SidebandPos)