Source code for RsFsw.Implementations.Applications.K40_PhaseNoise.Calculate.Snoise.Decades.Y

from typing import List

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


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

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

[docs] def get(self, window=repcap.Window.Default, marker=repcap.Marker.Default) -> List[float]: """ ``CALCulate<n>:SNOise<m>:DECades:Y`` \n Snippet: ``value: List[float] = driver.applications.k40PhaseNoise.calculate.snoise.decades.y.get(window = repcap.Window.Default, marker = repcap.Marker.Default)`` \n Queries the vertical poistion of the 10x offset frequency spot noise markers. :param window: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Calculate') :param marker: optional repeated capability selector. Default value: Nr1 (settable in the interface 'Snoise') """ window_cmd_val = self._cmd_group.get_repcap_cmd_value(window, repcap.Window) marker_cmd_val = self._cmd_group.get_repcap_cmd_value(marker, repcap.Marker) response = self._core.io.query_bin_or_ascii_float_list(f'CALCulate{window_cmd_val}:SNOise{marker_cmd_val}:DECades:Y?') return response