Source code for RsFsw.Implementations.Sense.Correction.Fresponse.User.Valid

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


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

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

[docs] def get(self) -> float: """ ``[SENSe]:CORRection:FRESponse:USER:VALid`` \n Snippet: ``value: float = driver.sense.correction.fresponse.user.valid.get()`` \n This command queries the validity of the user-defined correction settings. :return: validity: 0 | 1 1 The setting is valid. 0 The setting is not valid. """ response = self._core.io.query_str(f'SENSe:CORRection:FRESponse:USER:VALid?') return Conversions.str_to_float(response)