from .....Internal.Core import Core
from .....Internal.CommandsGroup import CommandsGroup
from .....Internal import Conversions
# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class CorrectionCls:
"""
| Commands in total: 3
| Subgroups: 0
| Direct child commands: 3
"""
def __init__(self, core: Core, parent):
self._core = core
self._cmd_group = CommandsGroup("correction", core, parent)
[docs]
def get_iq_delay(self) -> float:
"""
``SOURce<HW>:RFALignment:SPARameter:CORRection:IQDelay`` \n
Snippet: ``value: float = driver.source.rfAlignment.sparameter.correction.get_iq_delay()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:RFALignment:SPARameter:CORRection:IQDelay?')
return Conversions.str_to_float(response)
[docs]
def get_level(self) -> float:
"""
``SOURce<HW>:RFALignment:SPARameter:CORRection:LEVel`` \n
Snippet: ``value: float = driver.source.rfAlignment.sparameter.correction.get_level()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:RFALignment:SPARameter:CORRection:LEVel?')
return Conversions.str_to_float(response)
[docs]
def get_phase(self) -> float:
"""
``SOURce<HW>:RFALignment:SPARameter:CORRection:PHASe`` \n
Snippet: ``value: float = driver.source.rfAlignment.sparameter.correction.get_phase()`` \n
No help available
"""
response = self._core.io.query_str('SOURce<HwInstance>:RFALignment:SPARameter:CORRection:PHASe?')
return Conversions.str_to_float(response)