[docs]classBirthDeathCls:"""BirthDeath commands group definition. 13 total commands, 3 Subgroups, 5 group commands"""def__init__(self,core:Core,parent):self._core=coreself._cmd_group=CommandsGroup("birthDeath",core,parent)@propertydefdelay(self):"""delay commands group. 0 Sub-classes, 3 commands."""ifnothasattr(self,'_delay'):from.DelayimportDelayClsself._delay=DelayCls(self._core,self._cmd_group)returnself._delay@propertydefhopping(self):"""hopping commands group. 0 Sub-classes, 1 commands."""ifnothasattr(self,'_hopping'):from.HoppingimportHoppingClsself._hopping=HoppingCls(self._core,self._cmd_group)returnself._hopping@propertydefpath(self):"""path commands group. 3 Sub-classes, 0 commands."""ifnothasattr(self,'_path'):from.PathimportPathClsself._path=PathCls(self._core,self._cmd_group)returnself._path
[docs]defget_fratio(self)->float:"""SCPI: [SOURce<HW>]:FSIMulator:BIRThdeath:FRATio \n Snippet: value: float = driver.source.fsimulator.birthDeath.get_fratio() \n Sets the ratio of the actual Doppler frequency to the set Doppler frequency with birth death propagation fading. \n :return: fratio: float Range: -1 to 1 """response=self._core.io.query_str('SOURce<HwInstance>:FSIMulator:BIRThdeath:FRATio?')returnConversions.str_to_float(response)
[docs]defset_fratio(self,fratio:float)->None:"""SCPI: [SOURce<HW>]:FSIMulator:BIRThdeath:FRATio \n Snippet: driver.source.fsimulator.birthDeath.set_fratio(fratio = 1.0) \n Sets the ratio of the actual Doppler frequency to the set Doppler frequency with birth death propagation fading. \n :param fratio: float Range: -1 to 1 """param=Conversions.decimal_value_to_str(fratio)self._core.io.write(f'SOURce<HwInstance>:FSIMulator:BIRThdeath:FRATio {param}')
[docs]defget_positions(self)->int:"""SCPI: [SOURce<HW>]:FSIMulator:BIRThdeath:POSitions \n Snippet: value: int = driver.source.fsimulator.birthDeath.get_positions() \n Sets the number of possible hop positions in the delay range. 0 us < (...:BIRT:POS - 1) x ...:DEL:GRID + ...:DEL:MIN < 40 us \n :return: positions: integer Range: 3 to 50 """response=self._core.io.query_str('SOURce<HwInstance>:FSIMulator:BIRThdeath:POSitions?')returnConversions.str_to_int(response)
[docs]defset_positions(self,positions:int)->None:"""SCPI: [SOURce<HW>]:FSIMulator:BIRThdeath:POSitions \n Snippet: driver.source.fsimulator.birthDeath.set_positions(positions = 1) \n Sets the number of possible hop positions in the delay range. 0 us < (...:BIRT:POS - 1) x ...:DEL:GRID + ...:DEL:MIN < 40 us \n :param positions: integer Range: 3 to 50 """param=Conversions.decimal_value_to_str(positions)self._core.io.write(f'SOURce<HwInstance>:FSIMulator:BIRThdeath:POSitions {param}')
[docs]defget_soffset(self)->float:"""SCPI: [SOURce<HW>]:FSIMulator:BIRThdeath:SOFFset \n Snippet: value: float = driver.source.fsimulator.birthDeath.get_soffset() \n Sets the time until the start of the next birth death event. With dual-channel fading, this function allows the user to displace the birth death events of the two faders regarding one another. \n :return: soffset: float Range: 0 to 429 """response=self._core.io.query_str('SOURce<HwInstance>:FSIMulator:BIRThdeath:SOFFset?')returnConversions.str_to_float(response)
[docs]defset_soffset(self,soffset:float)->None:"""SCPI: [SOURce<HW>]:FSIMulator:BIRThdeath:SOFFset \n Snippet: driver.source.fsimulator.birthDeath.set_soffset(soffset = 1.0) \n Sets the time until the start of the next birth death event. With dual-channel fading, this function allows the user to displace the birth death events of the two faders regarding one another. \n :param soffset: float Range: 0 to 429 """param=Conversions.decimal_value_to_str(soffset)self._core.io.write(f'SOURce<HwInstance>:FSIMulator:BIRThdeath:SOFFset {param}')
[docs]defget_speed(self)->float:"""SCPI: [SOURce<HW>]:FSIMulator:BIRThdeath:SPEed \n Snippet: value: float = driver.source.fsimulator.birthDeath.get_speed() \n Sets the speed of the moving receiver for birth death propagation. The default speed unit is m/s. Units different than the default one must be specified. \n :return: speed: float Range: 0 to dynamic, Unit: m/s """response=self._core.io.query_str('SOURce<HwInstance>:FSIMulator:BIRThdeath:SPEed?')returnConversions.str_to_float(response)
[docs]defset_speed(self,speed:float)->None:"""SCPI: [SOURce<HW>]:FSIMulator:BIRThdeath:SPEed \n Snippet: driver.source.fsimulator.birthDeath.set_speed(speed = 1.0) \n Sets the speed of the moving receiver for birth death propagation. The default speed unit is m/s. Units different than the default one must be specified. \n :param speed: float Range: 0 to dynamic, Unit: m/s """param=Conversions.decimal_value_to_str(speed)self._core.io.write(f'SOURce<HwInstance>:FSIMulator:BIRThdeath:SPEed {param}')
[docs]defget_state(self)->bool:"""SCPI: [SOURce<HW>]:FSIMulator:BIRThdeath:STATe \n Snippet: value: bool = driver.source.fsimulator.birthDeath.get_state() \n Sets the birth death propagation fading configuration and enables the fading simulation. \n :return: state: 1| ON| 0| OFF """response=self._core.io.query_str('SOURce<HwInstance>:FSIMulator:BIRThdeath:STATe?')returnConversions.str_to_bool(response)
[docs]defset_state(self,state:bool)->None:"""SCPI: [SOURce<HW>]:FSIMulator:BIRThdeath:STATe \n Snippet: driver.source.fsimulator.birthDeath.set_state(state = False) \n Sets the birth death propagation fading configuration and enables the fading simulation. \n :param state: 1| ON| 0| OFF """param=Conversions.bool_to_str(state)self._core.io.write(f'SOURce<HwInstance>:FSIMulator:BIRThdeath:STATe {param}')
defclone(self)->'BirthDeathCls':"""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=BirthDeathCls(self._core,self._cmd_group.parent)self._cmd_group.synchronize_repcaps(new_group)returnnew_group