from ......Internal.Core import Core
from ......Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]
class ModulationCls:
"""Modulation commands group definition. 48 total commands, 12 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("modulation", core, parent)
@property
def evm(self):
"""evm commands group. 2 Sub-classes, 0 commands."""
if not hasattr(self, '_evm'):
from .Evm import EvmCls
self._evm = EvmCls(self._core, self._cmd_group)
return self._evm
@property
def merror(self):
"""merror commands group. 2 Sub-classes, 0 commands."""
if not hasattr(self, '_merror'):
from .Merror import MerrorCls
self._merror = MerrorCls(self._core, self._cmd_group)
return self._merror
@property
def perror(self):
"""perror commands group. 2 Sub-classes, 0 commands."""
if not hasattr(self, '_perror'):
from .Perror import PerrorCls
self._perror = PerrorCls(self._core, self._cmd_group)
return self._perror
@property
def iqOffset(self):
"""iqOffset commands group. 4 Sub-classes, 0 commands."""
if not hasattr(self, '_iqOffset'):
from .IqOffset import IqOffsetCls
self._iqOffset = IqOffsetCls(self._core, self._cmd_group)
return self._iqOffset
@property
def iqImbalance(self):
"""iqImbalance commands group. 4 Sub-classes, 0 commands."""
if not hasattr(self, '_iqImbalance'):
from .IqImbalance import IqImbalanceCls
self._iqImbalance = IqImbalanceCls(self._core, self._cmd_group)
return self._iqImbalance
@property
def freqError(self):
"""freqError commands group. 4 Sub-classes, 0 commands."""
if not hasattr(self, '_freqError'):
from .FreqError import FreqErrorCls
self._freqError = FreqErrorCls(self._core, self._cmd_group)
return self._freqError
@property
def ttError(self):
"""ttError commands group. 4 Sub-classes, 0 commands."""
if not hasattr(self, '_ttError'):
from .TtError import TtErrorCls
self._ttError = TtErrorCls(self._core, self._cmd_group)
return self._ttError
@property
def uePower(self):
"""uePower commands group. 4 Sub-classes, 0 commands."""
if not hasattr(self, '_uePower'):
from .UePower import UePowerCls
self._uePower = UePowerCls(self._core, self._cmd_group)
return self._uePower
@property
def current(self):
"""current commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_current'):
from .Current import CurrentCls
self._current = CurrentCls(self._core, self._cmd_group)
return self._current
@property
def average(self):
"""average commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_average'):
from .Average import AverageCls
self._average = AverageCls(self._core, self._cmd_group)
return self._average
@property
def maximum(self):
"""maximum commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_maximum'):
from .Maximum import MaximumCls
self._maximum = MaximumCls(self._core, self._cmd_group)
return self._maximum
@property
def standardDev(self):
"""standardDev commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_standardDev'):
from .StandardDev import StandardDevCls
self._standardDev = StandardDevCls(self._core, self._cmd_group)
return self._standardDev
def clone(self) -> 'ModulationCls':
"""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 = ModulationCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group