Source code for rsrtx.Implementations.Deembedding.Component.Load.RemProbeLoad

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class RemProbeLoadCls:
	"""
	| Commands in total: 1
	| Subgroups: 0
	| Direct child commands: 1
	"""

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

[docs] def set(self, value: bool, deembedding=repcap.Deembedding.Default, component=repcap.Component.Default) -> None: """ ``DEEMbedding<*>:COMPonent<*>:LOAD:REMProbeload`` \n Snippet: ``driver.deembedding.component.load.remProbeLoad.set(value = False, deembedding = repcap.Deembedding.Default, component = repcap.Component.Default)`` \n Removes the loading of the probe if method ``RsRtx.deembedding.component.mode.set()`` is set to PROBing. If the probe loading is removed, you see the signal that would be at the measurement point if the probe's input impedance is ideal (infinite impedance) . Without removing the loading, you see the real signal at the measurement point, including the probe loading. :param value: OFF | ON :param deembedding: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Deembedding') :param component: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Component') """ param = Conversions.bool_to_str(value) deembedding_cmd_val = self._cmd_group.get_repcap_cmd_value(deembedding, repcap.Deembedding) component_cmd_val = self._cmd_group.get_repcap_cmd_value(component, repcap.Component) self._core.io.write_with_opc(f'DEEMbedding{deembedding_cmd_val}:COMPonent{component_cmd_val}:LOAD:REMProbeload {param}')
[docs] def get(self, deembedding=repcap.Deembedding.Default, component=repcap.Component.Default) -> bool: """ ``DEEMbedding<*>:COMPonent<*>:LOAD:REMProbeload`` \n Snippet: ``value: bool = driver.deembedding.component.load.remProbeLoad.get(deembedding = repcap.Deembedding.Default, component = repcap.Component.Default)`` \n Removes the loading of the probe if method ``RsRtx.deembedding.component.mode.set()`` is set to PROBing. If the probe loading is removed, you see the signal that would be at the measurement point if the probe's input impedance is ideal (infinite impedance) . Without removing the loading, you see the real signal at the measurement point, including the probe loading. :param deembedding: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Deembedding') :param component: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Component') :return: value: OFF | ON """ deembedding_cmd_val = self._cmd_group.get_repcap_cmd_value(deembedding, repcap.Deembedding) component_cmd_val = self._cmd_group.get_repcap_cmd_value(component, repcap.Component) response = self._core.io.query_str_with_opc(f'DEEMbedding{deembedding_cmd_val}:COMPonent{component_cmd_val}:LOAD:REMProbeload?') return Conversions.str_to_bool(response)