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
[docs]class InputPyCls: """InputPy commands group definition. 2 total commands, 0 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("inputPy", core, parent)
[docs] def get_level(self) -> float: """SCPI: [SOURce<HW>]:IQ:DOHerty:INPut:LEVel \n Snippet: value: float = driver.source.iq.doherty.inputPy.get_level() \n Queries the PEP and level values. \n :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: """SCPI: [SOURce<HW>]:IQ:DOHerty:INPut:PEP \n Snippet: value: float = driver.source.iq.doherty.inputPy.get_pep() \n Queries the PEP and level values. \n :return: pep: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:IQ:DOHerty:INPut:PEP?') return Conversions.str_to_float(response)