Source code for rsmxo.Implementations.Calculate.Spectrum.Overlap.Fcount.Adjusted

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


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

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

[docs] def get(self, spectrum=repcap.Spectrum.Default) -> int: """ ``CALCulate:SPECtrum<*>:OVERlap:FCOunt:ADJusted`` \n Snippet: ``value: int = driver.calculate.spectrum.overlap.fcount.adjusted.get(spectrum = repcap.Spectrum.Default)`` \n Returns the adjusted number of frames that is used for FFT calculation. :param spectrum: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Spectrum') :return: adjust_fft_per_acq: 1 to 4294967295 """ spectrum_cmd_val = self._cmd_group.get_repcap_cmd_value(spectrum, repcap.Spectrum) response = self._core.io.query_str(f'CALCulate:SPECtrum{spectrum_cmd_val}:OVERlap:FCOunt:ADJusted?') return Conversions.str_to_int(response)