[docs]classQcomponentCls:"""Qcomponent commands group definition. 2 total commands, 1 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("qcomponent",core,parent)@propertydefinverted(self):"""inverted commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_inverted'):from.InvertedimportInvertedClsself._inverted=InvertedCls(self._core,self._cmd_group)returnself._inverted
[docs]defset(self,value:float,inputIx=repcap.InputIx.Default)->None:"""SCPI: INPut<ip>:IQ:OSC:SKEW:Q \n Snippet: driver.applications.iqAnalyzer.inputPy.iq.osc.skew.qcomponent.set(value = 1.0, inputIx = repcap.InputIx.Default) \n Compensates for skewed values in the positive Q path, e.g. due to different input cables. \n :param value: Unit: S :param inputIx: optional repeated capability selector. Default value: Nr1 (settable in the interface 'InputPy') """param=Conversions.decimal_value_to_str(value)inputIx_cmd_val=self._cmd_group.get_repcap_cmd_value(inputIx,repcap.InputIx)self._core.io.write(f'INPut{inputIx_cmd_val}:IQ:OSC:SKEW:Q {param}')
[docs]defget(self,inputIx=repcap.InputIx.Default)->float:"""SCPI: INPut<ip>:IQ:OSC:SKEW:Q \n Snippet: value: float = driver.applications.iqAnalyzer.inputPy.iq.osc.skew.qcomponent.get(inputIx = repcap.InputIx.Default) \n Compensates for skewed values in the positive Q path, e.g. due to different input cables. \n :param inputIx: optional repeated capability selector. Default value: Nr1 (settable in the interface 'InputPy') :return: value: Unit: S"""inputIx_cmd_val=self._cmd_group.get_repcap_cmd_value(inputIx,repcap.InputIx)response=self._core.io.query_str(f'INPut{inputIx_cmd_val}:IQ:OSC:SKEW:Q?')returnConversions.str_to_float(response)
defclone(self)->'QcomponentCls':"""Clones the group by creating new object from it and its whole existing subgroups Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group"""new_group=QcomponentCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group