[docs]classPfrequencyCls:"""Pfrequency commands group definition. 2 total commands, 1 Subgroups, 1 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("pfrequency",core,parent)@propertydefledState(self):"""ledState commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_ledState'):from.LedStateimportLedStateClsself._ledState=LedStateCls(self._core,self._cmd_group)returnself._ledState
[docs]defset(self,time:float)->None:"""SCPI: CONFigure:CFReduction:PFRequency \n Snippet: driver.applications.k18AmplifierEt.configure.cfReduction.pfrequency.set(time = 1.0) \n Sets and queries the passband frequency for crest factor reduction. \n :param time: numeric value Unit: Hz """param=Conversions.decimal_value_to_str(time)self._core.io.write(f'CONFigure:CFReduction:PFRequency {param}')
[docs]defget(self)->float:"""SCPI: CONFigure:CFReduction:PFRequency \n Snippet: value: float = driver.applications.k18AmplifierEt.configure.cfReduction.pfrequency.get() \n Sets and queries the passband frequency for crest factor reduction. \n :return: time: numeric value Unit: Hz"""response=self._core.io.query_str(f'CONFigure:CFReduction:PFRequency?')returnConversions.str_to_float(response)
defclone(self)->'PfrequencyCls':"""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=PfrequencyCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group