Source code for RsSmw.Implementations.Source.Fsimulator.TcInterferer.Reference.Fdoppler

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


# noinspection PyPep8Naming,PyAttributeOutsideInit,SpellCheckingInspection
[docs]class FdopplerCls: """Fdoppler commands group definition. 2 total commands, 0 Subgroups, 2 group commands""" def __init__(self, core: Core, parent): self._core = core self._cmd_group = CommandsGroup("fdoppler", core, parent)
[docs] def get_actual(self) -> float: """SCPI: [SOURce<HW>]:FSIMulator:TCINterferer:REFerence:FDOPpler:ACTual \n Snippet: value: float = driver.source.fsimulator.tcInterferer.reference.fdoppler.get_actual() \n Queries the actual Doppler shift. \n :return: act_doppler: float Range: -1600 to 1600 """ response = self._core.io.query_str('SOURce<HwInstance>:FSIMulator:TCINterferer:REFerence:FDOPpler:ACTual?') return Conversions.str_to_float(response)
[docs] def get_value(self) -> float: """SCPI: [SOURce<HW>]:FSIMulator:TCINterferer:REFerence:FDOPpler \n Snippet: value: float = driver.source.fsimulator.tcInterferer.reference.fdoppler.get_value() \n Queries the Doppler frequency of the reference and moving path with 2 channel interferer fading. \n :return: fdoppler: float Range: 0 to 1000 """ response = self._core.io.query_str('SOURce<HwInstance>:FSIMulator:TCINterferer:REFerence:FDOPpler?') return Conversions.str_to_float(response)