Source code for rsrtx.Implementations.Probe.Deembedding.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, remove_prb_load: bool, probe=repcap.Probe.Default) -> None: """ ``PROBe<*>:DEEMbedding:REMProbeload`` \n Snippet: ``driver.probe.deembedding.remProbeLoad.set(remove_prb_load = False, probe = repcap.Probe.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 remove_prb_load: OFF | ON :param probe: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Probe') """ param = Conversions.bool_to_str(remove_prb_load) probe_cmd_val = self._cmd_group.get_repcap_cmd_value(probe, repcap.Probe) self._core.io.write_with_opc(f'PROBe{probe_cmd_val}:DEEMbedding:REMProbeload {param}')
[docs] def get(self, probe=repcap.Probe.Default) -> bool: """ ``PROBe<*>:DEEMbedding:REMProbeload`` \n Snippet: ``value: bool = driver.probe.deembedding.remProbeLoad.get(probe = repcap.Probe.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 probe: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Probe') :return: remove_prb_load: OFF | ON """ probe_cmd_val = self._cmd_group.get_repcap_cmd_value(probe, repcap.Probe) response = self._core.io.query_str_with_opc(f'PROBe{probe_cmd_val}:DEEMbedding:REMProbeload?') return Conversions.str_to_bool(response)