from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class SenseCls:
"""Sense commands group definition. 111 total commands, 12 Subgroups, 0 group commands"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("sense", core, parent)
@property
def capture(self):
"""capture commands group. 5 Sub-classes, 0 commands."""
if not hasattr(self, '_capture'):
from .Capture import CaptureCls
self._capture = CaptureCls(self._core, self._cmd_group)
return self._capture
@property
def demod(self):
"""demod commands group. 5 Sub-classes, 0 commands."""
if not hasattr(self, '_demod'):
from .Demod import DemodCls
self._demod = DemodCls(self._core, self._cmd_group)
return self._demod
@property
def detect(self):
"""detect commands group. 6 Sub-classes, 0 commands."""
if not hasattr(self, '_detect'):
from .Detect import DetectCls
self._detect = DetectCls(self._core, self._cmd_group)
return self._detect
@property
def evaluation(self):
"""evaluation commands group. 3 Sub-classes, 0 commands."""
if not hasattr(self, '_evaluation'):
from .Evaluation import EvaluationCls
self._evaluation = EvaluationCls(self._core, self._cmd_group)
return self._evaluation
@property
def frequency(self):
"""frequency commands group. 5 Sub-classes, 0 commands."""
if not hasattr(self, '_frequency'):
from .Frequency import FrequencyCls
self._frequency = FrequencyCls(self._core, self._cmd_group)
return self._frequency
@property
def rlength(self):
"""rlength commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_rlength'):
from .Rlength import RlengthCls
self._rlength = RlengthCls(self._core, self._cmd_group)
return self._rlength
@property
def symbolRate(self):
"""symbolRate commands group. 0 Sub-classes, 1 commands."""
if not hasattr(self, '_symbolRate'):
from .SymbolRate import SymbolRateCls
self._symbolRate = SymbolRateCls(self._core, self._cmd_group)
return self._symbolRate
@property
def window(self):
"""window commands group. 2 Sub-classes, 0 commands."""
if not hasattr(self, '_window'):
from .Window import WindowCls
self._window = WindowCls(self._core, self._cmd_group)
return self._window
@property
def bandwidth(self):
"""bandwidth commands group. 2 Sub-classes, 0 commands."""
if not hasattr(self, '_bandwidth'):
from .Bandwidth import BandwidthCls
self._bandwidth = BandwidthCls(self._core, self._cmd_group)
return self._bandwidth
@property
def espectrum(self):
"""espectrum commands group. 11 Sub-classes, 0 commands."""
if not hasattr(self, '_espectrum'):
from .Espectrum import EspectrumCls
self._espectrum = EspectrumCls(self._core, self._cmd_group)
return self._espectrum
@property
def iq(self):
"""iq commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_iq'):
from .Iq import IqCls
self._iq = IqCls(self._core, self._cmd_group)
return self._iq
@property
def sweep(self):
"""sweep commands group. 1 Sub-classes, 0 commands."""
if not hasattr(self, '_sweep'):
from .Sweep import SweepCls
self._sweep = SweepCls(self._core, self._cmd_group)
return self._sweep
def clone(self) -> 'SenseCls':
"""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 = SenseCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group