from ...Internal.Core import Core
from ...Internal.CommandsGroup import CommandsGroup
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class InitiateCls:
"""
| Commands in total: 13
| Subgroups: 7
| Direct child commands: 1
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("initiate", core, parent)
@property
def sequencer(self):
"""
| Commands in total: 4
| Subgroups: 3
| Direct child commands: 1
"""
if not hasattr(self, '_sequencer'):
from .Sequencer import SequencerCls
self._sequencer = SequencerCls(self._core, self._cmd_group)
return self._sequencer
@property
def block(self):
"""
| Commands in total: 3
| Subgroups: 2
| Direct child commands: 1
"""
if not hasattr(self, '_block'):
from .Block import BlockCls
self._block = BlockCls(self._core, self._cmd_group)
return self._block
@property
def spurious(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_spurious'):
from .Spurious import SpuriousCls
self._spurious = SpuriousCls(self._core, self._cmd_group)
return self._spurious
@property
def espectrum(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_espectrum'):
from .Espectrum import EspectrumCls
self._espectrum = EspectrumCls(self._core, self._cmd_group)
return self._espectrum
@property
def refresh(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_refresh'):
from .Refresh import RefreshCls
self._refresh = RefreshCls(self._core, self._cmd_group)
return self._refresh
@property
def conMeas(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_conMeas'):
from .ConMeas import ConMeasCls
self._conMeas = ConMeasCls(self._core, self._cmd_group)
return self._conMeas
@property
def continuous(self):
"""
| Commands in total: 1
| Subgroups: 0
| Direct child commands: 1
"""
if not hasattr(self, '_continuous'):
from .Continuous import ContinuousCls
self._continuous = ContinuousCls(self._core, self._cmd_group)
return self._continuous
def clone(self) -> 'InitiateCls':
"""
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 = InitiateCls(self._core, self._cmd_group.parent)
self._cmd_group.synchronize_repcaps(new_group)
return new_group