Source code for RsFsw.Implementations.Applications.K30_NoiseFigure.Sense.Correction

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class CorrectionCls:
	"""
	| Commands in total: 50
	| Subgroups: 6
	| Direct child commands: 1
	"""

	def __init__(self, core: Core, parent):
		self._core = core
		self._cmd_group = CommandsGroup("correction", core, parent)

	@property
	def temperature(self):
		"""
		| Commands in total: 2
		| Subgroups: 1
		| Direct child commands: 1
		"""
		if not hasattr(self, '_temperature'):
			from .Temperature import TemperatureCls
			self._temperature = TemperatureCls(self._core, self._cmd_group)
		return self._temperature

	@property
	def loss(self):
		"""
		| Commands in total: 21
		| Subgroups: 3
		| Direct child commands: 0
		"""
		if not hasattr(self, '_loss'):
			from .Loss import LossCls
			self._loss = LossCls(self._core, self._cmd_group)
		return self._loss

	@property
	def irejection(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_irejection'):
			from .Irejection import IrejectionCls
			self._irejection = IrejectionCls(self._core, self._cmd_group)
		return self._irejection

	@property
	def state(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_state'):
			from .State import StateCls
			self._state = StateCls(self._core, self._cmd_group)
		return self._state

	@property
	def enr(self):
		"""
		| Commands in total: 23
		| Subgroups: 4
		| Direct child commands: 0
		"""
		if not hasattr(self, '_enr'):
			from .Enr import EnrCls
			self._enr = EnrCls(self._core, self._cmd_group)
		return self._enr

	@property
	def save(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_save'):
			from .Save import SaveCls
			self._save = SaveCls(self._core, self._cmd_group)
		return self._save

[docs] def recall(self, recall_file_path: str) -> None: """ ``[SENSe]:CORRection:RECall`` \n Snippet: ``driver.applications.k30NoiseFigure.sense.correction.recall(recall_file_path = 'abc')`` \n Sets the calibration results recall filepath and recalls the calibration results. """ param = Conversions.value_to_quoted_str(recall_file_path) self._core.io.write(f'SENSe:CORRection:RECall {param}')
def clone(self) -> 'CorrectionCls': """ 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 = CorrectionCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group