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

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs] class CorrectionTableCls: """CorrectionTable commands group definition. 10 total commands, 8 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("correctionTable", core, parent) @property def create(self): """create commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_create'): from .Create import CreateCls self._create = CreateCls(self._core, self._cmd_group) return self._create @property def erase(self): """erase commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_erase'): from .Erase import EraseCls self._erase = EraseCls(self._core, self._cmd_group) return self._erase @property def add(self): """add commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_add'): from .Add import AddCls self._add = AddCls(self._core, self._cmd_group) return self._add @property def length(self): """length commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_length'): from .Length import LengthCls self._length = LengthCls(self._core, self._cmd_group) return self._length @property def details(self): """details commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_details'): from .Details import DetailsCls self._details = DetailsCls(self._core, self._cmd_group) return self._details @property def catalog(self): """catalog commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_catalog'): from .Catalog import CatalogCls self._catalog = CatalogCls(self._core, self._cmd_group) return self._catalog @property def count(self): """count commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_count'): from .Count import CountCls self._count = CountCls(self._core, self._cmd_group) return self._count @property def exist(self): """exist commands group. 0 Sub-classes, 1 commands.""" if not hasattr(self, '_exist'): from .Exist import ExistCls self._exist = ExistCls(self._core, self._cmd_group) return self._exist
[docs] def delete(self, table_name: str) -> None: """SCPI: CONFigure:BASE:FDCorrection:CTABle:DELete \n Snippet: driver.configure.base.freqCorrection.correctionTable.delete(table_name = 'abc') \n No command help available \n :param table_name: No help available """ param = Conversions.value_to_quoted_str(table_name) self._core.io.write(f'CONFigure:BASE:FDCorrection:CTABle:DELete {param}')
[docs] def delete_all(self, table_path: str = None) -> None: """SCPI: CONFigure:BASE:FDCorrection:CTABle:DELete:ALL \n Snippet: driver.configure.base.freqCorrection.correctionTable.delete_all(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:CTABle:DELete:ALL {param}'.strip())
def clone(self) -> 'CorrectionTableCls': """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 = CorrectionTableCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group