Source code for RsSmw.Implementations.Source.Iq.Doherty.InputPy

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


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

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

[docs] def get_level(self) -> float: """ ``[SOURce<HW>]:IQ:DOHerty:INPut:LEVel`` \n Snippet: ``value: float = driver.source.iq.doherty.inputPy.get_level()`` \n Queries the PEP and level values. :return: level: float """ response = self._core.io.query_str('SOURce<HwInstance>:IQ:DOHerty:INPut:LEVel?') return Conversions.str_to_float(response)
[docs] def get_pep(self) -> float: """ ``[SOURce<HW>]:IQ:DOHerty:INPut:PEP`` \n Snippet: ``value: float = driver.source.iq.doherty.inputPy.get_pep()`` \n Queries the PEP and level values. """ response = self._core.io.query_str('SOURce<HwInstance>:IQ:DOHerty:INPut:PEP?') return Conversions.str_to_float(response)