Source code for RsSmw.Implementations.Source.Fsimulator.Couple.LogNormal

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


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

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

[docs] def get_cstd(self) -> bool: """ ``[SOURce<HW>]:FSIMulator:COUPle:LOGNormal:CSTD`` \n Snippet: ``value: bool = driver.source.fsimulator.couple.logNormal.get_cstd()`` \n Requires 'System Configuration' > 'Mode' > 'Standard'. Couples the lognormal fading setting. """ response = self._core.io.query_str('SOURce<HwInstance>:FSIMulator:COUPle:LOGNormal:CSTD?') return Conversions.str_to_bool(response)
[docs] def set_cstd(self, cstd: bool) -> None: """ ``[SOURce<HW>]:FSIMulator:COUPle:LOGNormal:CSTD`` \n Snippet: ``driver.source.fsimulator.couple.logNormal.set_cstd(cstd = False)`` \n Requires 'System Configuration' > 'Mode' > 'Standard'. Couples the lognormal fading setting. :param cstd: 1 | ON | 0| OFF """ param = Conversions.bool_to_str(cstd) self._core.io.write(f'SOURce<HwInstance>:FSIMulator:COUPle:LOGNormal:CSTD {param}')
[docs] def get_lconstant(self) -> bool: """ ``[SOURce<HW>]:FSIMulator:COUPle:LOGNormal:LCONstant`` \n Snippet: ``value: bool = driver.source.fsimulator.couple.logNormal.get_lconstant()`` \n Requires 'System Configuration' > 'Mode' > 'Standard'. Couples the lognormal fading setting. :return: lconstant: 1 | ON | 0| OFF """ response = self._core.io.query_str('SOURce<HwInstance>:FSIMulator:COUPle:LOGNormal:LCONstant?') return Conversions.str_to_bool(response)
[docs] def set_lconstant(self, lconstant: bool) -> None: """ ``[SOURce<HW>]:FSIMulator:COUPle:LOGNormal:LCONstant`` \n Snippet: ``driver.source.fsimulator.couple.logNormal.set_lconstant(lconstant = False)`` \n Requires 'System Configuration' > 'Mode' > 'Standard'. Couples the lognormal fading setting. :param lconstant: 1 | ON | 0| OFF """ param = Conversions.bool_to_str(lconstant) self._core.io.write(f'SOURce<HwInstance>:FSIMulator:COUPle:LOGNormal:LCONstant {param}')