[docs]classGainCls:"""Gain commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("gain",core,parent)
[docs]defset(self,gain:float)->None:"""SCPI: SYSTem:CONFigure:DUT:GAIN \n Snippet: driver.applications.k30NoiseFigure.system.configure.dut.gain.set(gain = 1.0) \n Defines the expected 'gain' of the DUT. The application uses the 'gain' for automatic reference level detection. \n :param gain: Range: 10 to 1000, Unit: DB """param=Conversions.decimal_value_to_str(gain)self._core.io.write(f'SYSTem:CONFigure:DUT:GAIN {param}')
[docs]defget(self)->float:"""SCPI: SYSTem:CONFigure:DUT:GAIN \n Snippet: value: float = driver.applications.k30NoiseFigure.system.configure.dut.gain.get() \n Defines the expected 'gain' of the DUT. The application uses the 'gain' for automatic reference level detection. \n :return: gain: Range: 10 to 1000, Unit: DB"""response=self._core.io.query_str(f'SYSTem:CONFigure:DUT:GAIN?')returnConversions.str_to_float(response)