[docs]classACls:"""A commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("a",core,parent)
[docs]defset(self,conv_fact:float)->None:"""SCPI: TRACe:IQ:APCon:A \n Snippet: driver.trace.iq.apcon.a.set(conv_fact = 1.0) \n Defines the conversion factor A for the calculation of the average power consumption. For details see 'Average power consumption'. \n :param conv_fact: numeric value """param=Conversions.decimal_value_to_str(conv_fact)self._core.io.write(f'TRACe:IQ:APCon:A {param}')
[docs]defget(self)->float:"""SCPI: TRACe:IQ:APCon:A \n Snippet: value: float = driver.trace.iq.apcon.a.get() \n Defines the conversion factor A for the calculation of the average power consumption. For details see 'Average power consumption'. \n :return: conv_fact: numeric value"""response=self._core.io.query_str(f'TRACe:IQ:APCon:A?')returnConversions.str_to_float(response)