Source code for RsFsw.Implementations.Sense.Sweep.FftSubspan

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


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

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

[docs] def get(self) -> float: """ ``[SENSe]:SWEep:FFTSubspan`` \n Snippet: ``value: float = driver.sense.sweep.fftSubspan.get()`` \n Returns the number of FFT subspans required to cover the entire measurement range (read-only) . See also 'Number of subspans'. Only available in FFT sweep mode in the Spectrum application, and not for SEM, ACLR, or Spurious emissions measurements. :return: no_of_partial_spans: integer """ response = self._core.io.query_str(f'SENSe:SWEep:FFTSubspan?') return Conversions.str_to_float(response)