[docs]classSwapIqCls:"""SwapIq commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("swapIq",core,parent)
[docs]defset(self,state:bool)->None:"""SCPI: [SENSe]:SWAPiq \n Snippet: driver.applications.k10Xlte.sense.swapIq.set(state = False) \n Defines whether or not the recorded I/Q pairs should be swapped (I<->Q) before being processed. Swapping I and Q inverts the sideband. This is useful if the DUT interchanged the I and Q parts of the signal; then the FSW can do the same to compensate for it. For GSM measurements: Try this function if the TSC can not be found. \n :param state: ON | 1 I and Q signals are interchanged Inverted sideband, Q+j*I OFF | 0 I and Q signals are not interchanged Normal sideband, I+j*Q """param=Conversions.bool_to_str(state)self._core.io.write(f'SENSe:SWAPiq {param}')
[docs]defget(self)->bool:"""SCPI: [SENSe]:SWAPiq \n Snippet: value: bool = driver.applications.k10Xlte.sense.swapIq.get() \n Defines whether or not the recorded I/Q pairs should be swapped (I<->Q) before being processed. Swapping I and Q inverts the sideband. This is useful if the DUT interchanged the I and Q parts of the signal; then the FSW can do the same to compensate for it. For GSM measurements: Try this function if the TSC can not be found. \n :return: state: ON | 1 I and Q signals are interchanged Inverted sideband, Q+j*I OFF | 0 I and Q signals are not interchanged Normal sideband, I+j*Q"""response=self._core.io.query_str(f'SENSe:SWAPiq?')returnConversions.str_to_bool(response)