Source code for RsSmw.Implementations.Source.Bb.Nr5G.Output

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
class OutputCls:
	"""
	| Commands in total: 61
	| Subgroups: 8
	| Direct child commands: 6
	"""

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

	@property
	def bbConf(self):
		"""
		| Commands in total: 7
		| Subgroups: 1
		| Direct child commands: 1
		"""
		if not hasattr(self, '_bbConf'):
			from .BbConf import BbConfCls
			self._bbConf = BbConfCls(self._core, self._cmd_group)
		return self._bbConf

	@property
	def cfReduction(self):
		"""
		| Commands in total: 8
		| Subgroups: 0
		| Direct child commands: 8
		"""
		if not hasattr(self, '_cfReduction'):
			from .CfReduction import CfReductionCls
			self._cfReduction = CfReductionCls(self._core, self._cmd_group)
		return self._cfReduction

	@property
	def filterPy(self):
		"""
		| Commands in total: 4
		| Subgroups: 0
		| Direct child commands: 4
		"""
		if not hasattr(self, '_filterPy'):
			from .FilterPy import FilterPyCls
			self._filterPy = FilterPyCls(self._core, self._cmd_group)
		return self._filterPy

	@property
	def power(self):
		"""
		| Commands in total: 10
		| Subgroups: 8
		| Direct child commands: 2
		"""
		if not hasattr(self, '_power'):
			from .Power import PowerCls
			self._power = PowerCls(self._core, self._cmd_group)
		return self._power

	@property
	def sbsl(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_sbsl'):
			from .Sbsl import SbslCls
			self._sbsl = SbslCls(self._core, self._cmd_group)
		return self._sbsl

	@property
	def seqLen(self):
		"""
		| Commands in total: 2
		| Subgroups: 0
		| Direct child commands: 2
		"""
		if not hasattr(self, '_seqLen'):
			from .SeqLen import SeqLenCls
			self._seqLen = SeqLenCls(self._core, self._cmd_group)
		return self._seqLen

	@property
	def ssoc(self):
		"""
		| Commands in total: 1
		| Subgroups: 0
		| Direct child commands: 1
		"""
		if not hasattr(self, '_ssoc'):
			from .Ssoc import SsocCls
			self._ssoc = SsocCls(self._core, self._cmd_group)
		return self._ssoc

	@property
	def tdWind(self):
		"""
		| Commands in total: 22
		| Subgroups: 11
		| Direct child commands: 0
		"""
		if not hasattr(self, '_tdWind'):
			from .TdWind import TdWindCls
			self._tdWind = TdWindCls(self._core, self._cmd_group)
		return self._tdWind

	# noinspection PyTypeChecker
[docs] def get_aclr_opt(self) -> enums.AclrMode: """ ``[SOURce<HW>]:BB:NR5G:OUTPut:ACLRopt`` \n Snippet: ``value: enums.AclrMode = driver.source.bb.nr5G.output.get_aclr_opt()`` \n No help available """ response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:OUTPut:ACLRopt?') return Conversions.str_to_scalar_enum(response, enums.AclrMode)
[docs] def get_clevel(self) -> int: """ ``[SOURce<HW>]:BB:NR5G:OUTPut:CLEVel`` \n Snippet: ``value: int = driver.source.bb.nr5G.output.get_clevel()`` \n Sets the limit for level clipping. :return: clipping_level: integer Range: 1 to 100 """ response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:OUTPut:CLEVel?') return Conversions.str_to_int(response)
# noinspection PyTypeChecker
[docs] def get_cmode(self) -> enums.ClipMode: """ ``[SOURce<HW>]:BB:NR5G:OUTPut:CMODe`` \n Snippet: ``value: enums.ClipMode = driver.source.bb.nr5G.output.get_cmode()`` \n Sets the method for level clipping. :return: clipping_mode: VECTor | SCALar """ response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:OUTPut:CMODe?') return Conversions.str_to_scalar_enum(response, enums.ClipMode)
# noinspection PyTypeChecker
[docs] def get_fmode(self) -> enums.FilterMode: """ ``[SOURce<HW>]:BB:NR5G:OUTPut:FMODe`` \n Snippet: ``value: enums.FilterMode = driver.source.bb.nr5G.output.get_fmode()`` \n Defines if and how the filter is applied, on the whole channel bandwidth or on the individual BWPs separately. :return: filter_bwp: CBW | BWP | OFF | FAST | 2| 1 | 0| USER | EVM | ALC ALC Applies a filter to each allocation. BWP | 1 Applies a filter to each bandwidth part. CBW | 0 Applies the channel BW filter. EVM Applies a filter to optimze the EVM. FAST | 2 Applies fast filtering. OFF No filter. USER Applies a custom filter. """ response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:OUTPut:FMODe?') return Conversions.str_to_scalar_enum(response, enums.FilterMode)
# noinspection PyTypeChecker
[docs] def get_samr_mode(self) -> enums.SampRateModeRange: """ ``[SOURce<HW>]:BB:NR5G:OUTPut:SAMRmode`` \n Snippet: ``value: enums.SampRateModeRange = driver.source.bb.nr5G.output.get_samr_mode()`` \n Sets the sample rate mode. :return: samp_rate_mode: MIN | FFT """ response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:OUTPut:SAMRmode?') return Conversions.str_to_scalar_enum(response, enums.SampRateModeRange)
[docs] def get_suslen(self) -> int: """ ``[SOURce<HW>]:BB:NR5G:OUTPut:SUSLen`` \n Snippet: ``value: int = driver.source.bb.nr5G.output.get_suslen()`` \n Sets the sequence length of the signal in terms of subframes. """ response = self._core.io.query_str('SOURce<HwInstance>:BB:NR5G:OUTPut:SUSLen?') return Conversions.str_to_int(response)
def clone(self) -> 'OutputCls': """ Clones the group by creating new object from it and its whole existing subgroups. Also copies all the existing default Repeated Capabilities setting, which you can change independently without affecting the original group. """ new_group = OutputCls(self._core, self._cmd_group.parent) self._cmd_group.synchronize_repcaps(new_group) return new_group