Source code for RsSmw.Implementations.Sconfiguration.RfAlignment.Setup.Info.Calibration.Temperature

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


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

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

[docs] def get_offset(self) -> float: """ ``SCONfiguration:RFALignment:SETup:INFO:CALibration:TEMPerature:OFFSet`` \n Snippet: ``value: float = driver.sconfiguration.rfAlignment.setup.info.calibration.temperature.get_offset()`` \n Queries the difference in temperature since the moment the calibration described in the loaded setup file is performed. :return: temp_offset: float """ response = self._core.io.query_str('SCONfiguration:RFALignment:SETup:INFO:CALibration:TEMPerature:OFFSet?') return Conversions.str_to_float(response)