[docs]classSgammaCls:"""Sgamma commands group definition. 5 total commands, 2 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("sgamma",core,parent)@propertydefmagnitude(self):"""magnitude commands group. 0 Sub-classes, 2 commands."""ifnothasattr(self,'_magnitude'):from.MagnitudeimportMagnitudeClsself._magnitude=MagnitudeCls(self._core,self._cmd_group)returnself._magnitude@propertydefphase(self):"""phase commands group. 0 Sub-classes, 2 commands."""ifnothasattr(self,'_phase'):from.PhaseimportPhaseClsself._phase=PhaseCls(self._core,self._cmd_group)returnself._phase
[docs]defdelete(self)->None:"""SCPI: [SOURce<HW>]:CORRection:CSET:DATA:SGAMma:DELete \n Snippet: driver.source.correction.cset.data.sgamma.delete() \n No command help available \n """self._core.io.write(f'SOURce<HwInstance>:CORRection:CSET:DATA:SGAMma:DELete')
[docs]defdelete_with_opc(self,opc_timeout_ms:int=-1)->None:"""SCPI: [SOURce<HW>]:CORRection:CSET:DATA:SGAMma:DELete \n Snippet: driver.source.correction.cset.data.sgamma.delete_with_opc() \n No command help available \n Same as delete, but waits for the operation to complete before continuing further. Use the RsSmw.utilities.opc_timeout_set() to set the timeout value. \n :param opc_timeout_ms: Maximum time to wait in milliseconds, valid only for this call."""self._core.io.write_with_opc(f'SOURce<HwInstance>:CORRection:CSET:DATA:SGAMma:DELete',opc_timeout_ms)
defclone(self)->'SgammaCls':"""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=SgammaCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group