Source code for RsFsw.Implementations.Applications.K18_AmplifierEt.Configure.Fdomain.Woverlap

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


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

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

[docs] def set(self, window_overlap: float) -> None: """ ``CONFigure:FDOMain:WOVerlap`` \n Snippet: ``driver.applications.k18AmplifierEt.configure.fdomain.woverlap.set(window_overlap = 1.0)`` \n Defines the part of a single FFT window that is re-calculated by the next FFT calculation when using multiple FFT windows. :param window_overlap: Range: 0 to 99.9, Unit: percent """ param = Conversions.decimal_value_to_str(window_overlap) self._core.io.write(f'CONFigure:FDOMain:WOVerlap {param}')
[docs] def get(self) -> float: """ ``CONFigure:FDOMain:WOVerlap`` \n Snippet: ``value: float = driver.applications.k18AmplifierEt.configure.fdomain.woverlap.get()`` \n Defines the part of a single FFT window that is re-calculated by the next FFT calculation when using multiple FFT windows. :return: window_overlap: Range: 0 to 99.9, Unit: percent """ response = self._core.io.query_str(f'CONFigure:FDOMain:WOVerlap?') return Conversions.str_to_float(response)