[docs]defget_scale(self)->enums.IqOutEnvScale:"""SCPI: [SOURce<HW>]:IQ:DOHerty:SCALe \n Snippet: value: enums.IqOutEnvScale = driver.source.iq.doherty.get_scale() \n Determines the units used on the x and y-axis. \n :return: scale: POWer| VOLTage """response=self._core.io.query_str('SOURce<HwInstance>:IQ:DOHerty:SCALe?')returnConversions.str_to_scalar_enum(response,enums.IqOutEnvScale)
[docs]defset_scale(self,scale:enums.IqOutEnvScale)->None:"""SCPI: [SOURce<HW>]:IQ:DOHerty:SCALe \n Snippet: driver.source.iq.doherty.set_scale(scale = enums.IqOutEnvScale.POWer) \n Determines the units used on the x and y-axis. \n :param scale: POWer| VOLTage """param=Conversions.enum_scalar_to_str(scale,enums.IqOutEnvScale)self._core.io.write(f'SOURce<HwInstance>:IQ:DOHerty:SCALe {param}')
[docs]defget_state(self)->bool:"""SCPI: [SOURce]:IQ:DOHerty:STATe \n Snippet: value: bool = driver.source.iq.doherty.get_state() \n Enabels/disables the generation of digitally Doherty signals. \n :return: state: 1| ON| 0| OFF """response=self._core.io.query_str('SOURce:IQ:DOHerty:STATe?')returnConversions.str_to_bool(response)
[docs]defset_state(self,state:bool)->None:"""SCPI: [SOURce]:IQ:DOHerty:STATe \n Snippet: driver.source.iq.doherty.set_state(state = False) \n Enabels/disables the generation of digitally Doherty signals. \n :param state: 1| ON| 0| OFF """param=Conversions.bool_to_str(state)self._core.io.write(f'SOURce:IQ:DOHerty:STATe {param}')
defclone(self)->'DohertyCls':"""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=DohertyCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group