[docs]classOutputCls:"""Output commands group definition. 6 total commands, 2 Subgroups, 3 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("output",core,parent)@propertydeferror(self):"""error commands group. 0 Sub-classes, 2 commands."""ifnothasattr(self,'_error'):from.ErrorimportErrorClsself._error=ErrorCls(self._core,self._cmd_group)returnself._error@propertydefiterations(self):"""iterations commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_iterations'):from.IterationsimportIterationsClsself._iterations=IterationsCls(self._core,self._cmd_group)returnself._iterations
[docs]defget_cfactor(self)->float:"""SCPI: [SOURce<HW>]:IQ:DPD:OUTPut:CFACtor \n Snippet: value: float = driver.source.iq.dpd.output.get_cfactor() \n Queries the measured values the before and after the enabled digital predistortion. \n :return: crest_factor: float The query returns -1000 if the calculation is impossible or there are no measurements results available. """response=self._core.io.query_str('SOURce<HwInstance>:IQ:DPD:OUTPut:CFACtor?')returnConversions.str_to_float(response)
[docs]defget_level(self)->float:"""SCPI: [SOURce<HW>]:IQ:DPD:OUTPut:LEVel \n Snippet: value: float = driver.source.iq.dpd.output.get_level() \n Queries the measured values the before and after the enabled digital predistortion. \n :return: level: float The query returns -1000 if the calculation is impossible or there are no measurements results available. """response=self._core.io.query_str('SOURce<HwInstance>:IQ:DPD:OUTPut:LEVel?')returnConversions.str_to_float(response)
[docs]defget_pep(self)->float:"""SCPI: [SOURce<HW>]:IQ:DPD:OUTPut:PEP \n Snippet: value: float = driver.source.iq.dpd.output.get_pep() \n Queries the measured values the before and after the enabled digital predistortion. \n :return: pep: float The query returns -1000 if the calculation is impossible or there are no measurements results available. """response=self._core.io.query_str('SOURce<HwInstance>:IQ:DPD:OUTPut:PEP?')returnConversions.str_to_float(response)
defclone(self)->'OutputCls':"""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=OutputCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group