Source code for RsCMPX_Base.Implementations.Configure.Base.FreqCorrection

from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class FreqCorrectionCls: """FreqCorrection commands group definition. 12 total commands, 1 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("freqCorrection", core, parent) @property def correctionTable(self): """correctionTable commands group. 8 Sub-classes, 2 commands.""" if not hasattr(self, '_correctionTable'): from .CorrectionTable import CorrectionTableCls self._correctionTable = CorrectionTableCls(self._core, self._cmd_group) return self._correctionTable
[docs] def save(self, table_path: str = None) -> None: """SCPI: CONFigure:BASE:FDCorrection:SAV \n Snippet: driver.configure.base.freqCorrection.save(table_path = rawAbc) \n No command help available \n :param table_path: No help available """ param = '' if table_path: param = Conversions.value_to_str(table_path) self._core.io.write(f'CONFigure:BASE:FDCorrection:SAV {param}'.strip())
[docs] def recall(self, table_path: str = None) -> None: """SCPI: CONFigure:BASE:FDCorrection:RCL \n Snippet: driver.configure.base.freqCorrection.recall(table_path = rawAbc) \n No command help available \n :param table_path: No help available """ param = '' if table_path: param = Conversions.value_to_str(table_path) self._core.io.write(f'CONFigure:BASE:FDCorrection:RCL {param}'.strip())
def clone(self) -> 'FreqCorrectionCls': """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 = FreqCorrectionCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group