Source code for RsSmbv.Implementations.Source.Iq.Doherty.Output

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class OutputCls: """Output commands group definition. 2 total commands, 0 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("output", core, parent)
[docs] def get_level(self) -> float: """SCPI: [SOURce<HW>]:IQ:DOHerty:OUTPut:LEVel \n Snippet: value: float = driver.source.iq.doherty.output.get_level() \n No command help available \n :return: level: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:IQ:DOHerty:OUTPut:LEVel?') return Conversions.str_to_float(response)
[docs] def get_pep(self) -> float: """SCPI: [SOURce<HW>]:IQ:DOHerty:OUTPut:PEP \n Snippet: value: float = driver.source.iq.doherty.output.get_pep() \n No command help available \n :return: pep: No help available """ response = self._core.io.query_str('SOURce<HwInstance>:IQ:DOHerty:OUTPut:PEP?') return Conversions.str_to_float(response)