Source code for RsSmw.Implementations.Source.Bb.Nr5G.Output.TdWind.Sp5K

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


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

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

[docs] def get_trtsamples(self) -> int: """ ``[SOURce<HW>]:BB:NR5G:OUTPut:TDWind:SP5K:TRTSamples`` \n Snippet: ``value: int = driver.source.bb.nr5G.output.tdWind.sp5K.get_trtsamples()`` \n No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:OUTPut:TDWind:SP5K:TRTSamples?') return Conversions.str_to_int(response)
[docs] def get_tr_time(self) -> float: """ ``[SOURce<HW>]:BB:NR5G:OUTPut:TDWind:SP5K:TRTime`` \n Snippet: ``value: float = driver.source.bb.nr5G.output.tdWind.sp5K.get_tr_time()`` \n No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:OUTPut:TDWind:SP5K:TRTime?') return Conversions.str_to_float(response)