from ....Internal.Core import Core
from ....Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]
class TraceCls:
"""Trace commands group definition. 32 total commands, 5 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("trace", core, parent)
@property
def sacp(self):
"""sacp commands group. 4 Sub-classes, 0 commands."""
if not hasattr(self, '_sacp'):
from .Sacp import SacpCls
self._sacp = SacpCls(self._core, self._cmd_group)
return self._sacp
@property
def iqOffset(self):
"""iqOffset commands group. 0 Sub-classes, 2 commands."""
if not hasattr(self, '_iqOffset'):
from .IqOffset import IqOffsetCls
self._iqOffset = IqOffsetCls(self._core, self._cmd_group)
return self._iqOffset
@property
def iqAbs(self):
"""iqAbs commands group. 0 Sub-classes, 2 commands."""
if not hasattr(self, '_iqAbs'):
from .IqAbs import IqAbsCls
self._iqAbs = IqAbsCls(self._core, self._cmd_group)
return self._iqAbs
@property
def evMagnitude(self):
"""evMagnitude commands group. 2 Sub-classes, 0 commands."""
if not hasattr(self, '_evMagnitude'):
from .EvMagnitude import EvMagnitudeCls
self._evMagnitude = EvMagnitudeCls(self._core, self._cmd_group)
return self._evMagnitude
@property
def powerVsTime(self):
"""powerVsTime commands group. 4 Sub-classes, 0 commands."""
if not hasattr(self, '_powerVsTime'):
from .PowerVsTime import PowerVsTimeCls
self._powerVsTime = PowerVsTimeCls(self._core, self._cmd_group)
return self._powerVsTime
def clone(self) -> 'TraceCls':
"""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 = TraceCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group