[docs]classFrequencyCls:"""Frequency commands group definition. 1 total commands, 0 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("frequency",core,parent)
[docs]defset(self,frequency:float)->None:"""SCPI: [SENSe]:CREFerence:FREQuency \n Snippet: driver.applications.k50Spurious.sense.creference.frequency.set(frequency = 1.0) \n Defines or queries the frequency at which the maximum peak of the signal, that is: the reference carrier, was found. \n :param frequency: Unit: HZ """param=Conversions.decimal_value_to_str(frequency)self._core.io.write(f'SENSe:CREFerence:FREQuency {param}')
[docs]defget(self)->float:"""SCPI: [SENSe]:CREFerence:FREQuency \n Snippet: value: float = driver.applications.k50Spurious.sense.creference.frequency.get() \n Defines or queries the frequency at which the maximum peak of the signal, that is: the reference carrier, was found. \n :return: frequency: Unit: HZ"""response=self._core.io.query_str(f'SENSe:CREFerence:FREQuency?')returnConversions.str_to_float(response)