Source code for RsSmw.Implementations.Source.RfAlignment.Calibrated.Power

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


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

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

[docs] def get_pep(self) -> float: """ ``SOURce<HW>:RFALignment:CALibrated:POWer:PEP`` \n Snippet: ``value: float = driver.source.rfAlignment.calibrated.power.get_pep()`` \n Queries the PEP for that the calibration data is valid. :return: pep: float """ response = self._core.io.query_str('SOURce<HwInstance>:RFALignment:CALibrated:POWer:PEP?') return Conversions.str_to_float(response)