[docs]classTableCls:"""Table commands group definition. 10 total commands, 2 Subgroups, 2 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("table",core,parent)@propertydefamam(self):"""amam commands group. 1 Sub-classes, 0 commands."""ifnothasattr(self,'_amam'):from.AmamimportAmamClsself._amam=AmamCls(self._core,self._cmd_group)returnself._amam@propertydefamPm(self):"""amPm commands group. 1 Sub-classes, 0 commands."""ifnothasattr(self,'_amPm'):from.AmPmimportAmPmClsself._amPm=AmPmCls(self._core,self._cmd_group)returnself._amPm# noinspection PyTypeChecker
[docs]defget_interp(self)->enums.Interpolation:"""SCPI: [SOURce<HW>]:IQ:DPD:SHAPing:TABLe:INTerp \n Snippet: value: enums.Interpolation = driver.source.iq.dpd.shaping.table.get_interp() \n Enables a linear (voltage or power) interpolation between the defined correction values. \n :return: ipart_interpolation: No help available """response=self._core.io.query_str('SOURce<HwInstance>:IQ:DPD:SHAPing:TABLe:INTerp?')returnConversions.str_to_scalar_enum(response,enums.Interpolation)
[docs]defset_interp(self,ipart_interpolation:enums.Interpolation)->None:"""SCPI: [SOURce<HW>]:IQ:DPD:SHAPing:TABLe:INTerp \n Snippet: driver.source.iq.dpd.shaping.table.set_interp(ipart_interpolation = enums.Interpolation.LINear) \n Enables a linear (voltage or power) interpolation between the defined correction values. \n :param ipart_interpolation: OFF| POWer| LINear POWer Linear power interpolation LINear Linear voltage interpolation """param=Conversions.enum_scalar_to_str(ipart_interpolation,enums.Interpolation)self._core.io.write(f'SOURce<HwInstance>:IQ:DPD:SHAPing:TABLe:INTerp {param}')
[docs]defget_invert(self)->bool:"""SCPI: [SOURce<HW>]:IQ:DPD:SHAPing:[TABLe]:INVert \n Snippet: value: bool = driver.source.iq.dpd.shaping.table.get_invert() \n Inverts the defined correction values. \n :return: ipart_invert_values: No help available """response=self._core.io.query_str('SOURce<HwInstance>:IQ:DPD:SHAPing:TABLe:INVert?')returnConversions.str_to_bool(response)
[docs]defset_invert(self,ipart_invert_values:bool)->None:"""SCPI: [SOURce<HW>]:IQ:DPD:SHAPing:[TABLe]:INVert \n Snippet: driver.source.iq.dpd.shaping.table.set_invert(ipart_invert_values = False) \n Inverts the defined correction values. \n :param ipart_invert_values: 1| ON| 0| OFF """param=Conversions.bool_to_str(ipart_invert_values)self._core.io.write(f'SOURce<HwInstance>:IQ:DPD:SHAPing:TABLe:INVert {param}')
defclone(self)->'TableCls':"""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=TableCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group