Source code for RsFsw.Implementations.Applications.K10x_Lte.Fetch.FreqError.Cc.Minimum

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


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

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

[docs] def get(self, carrierComponent=repcap.CarrierComponent.Default) -> float: """ ``FETCh:FERRor[:CC<cc>]:MINimum`` \n Snippet: ``value: float = driver.applications.k10Xlte.fetch.freqError.cc.minimum.get(carrierComponent = repcap.CarrierComponent.Default)`` \n Queries the carrier frequency error. :param carrierComponent: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Cc') :return: frequency_error: numeric value Average, minimum or maximum frequency error, depending on the command syntax. Unit: Hz """ carrierComponent_cmd_val = self._cmd_group.get_repcap_cmd_value(carrierComponent, repcap.CarrierComponent) response = self._core.io.query_str(f'FETCh:FERRor:CC{carrierComponent_cmd_val}:MINimum?') return Conversions.str_to_float(response)