HsTrain#
SCPI Commands :
- [SOURce<HW>]:FSIMulator:HSTRain:FDOPpler
- [SOURce<HW>]:FSIMulator:HSTRain:KFACtor
- [SOURce<HW>]:FSIMulator:HSTRain:PROFile
- [SOURce<HW>]:FSIMulator:HSTRain:SOFFset
- [SOURce<HW>]:FSIMulator:HSTRain:SPEed
- [SOURce<HW>]:FSIMulator:HSTRain:STATe
- Commands in total: 11Subgroups: 3Direct child commands: 6
- get_fdoppler ( ) float
# [SOURce<HW>]:FSIMulator:HSTRain:FDOPpler value: float = driver.source.fsimulator.hsTrain.get_fdoppler()Queries the maximum Doppler Shift for the selected configuration.
- Returns:
fdoppler: float Range: 0 to depends on settings
- get_kfactor ( ) float
- set_kfactor ( kfactor: float ) None
# [SOURce<HW>]:FSIMulator:HSTRain:KFACtor # get: value: float = driver.source.fsimulator.hsTrain.get_kfactor() # set: driver.source.fsimulator.hsTrain.set_kfactor(kfactor = 1.0)
Sets the Rician factor K for high-speed train scenario 2.
- Parameters:
kfactor – float Range: -30 to 30
- get_profile ( ) FadingProfileB
- set_profile ( profile: FadingProfileB ) None
# [SOURce<HW>]:FSIMulator:HSTRain:PROFile # get: value: enums.FadingProfileB = driver.source.fsimulator.hsTrain.get_profile() # set: driver.source.fsimulator.hsTrain.set_profile(profile = enums.FadingProfileB.BELLindoor)
Determines the fading profile for the selected scenario. The fading profile determines which transmission path is simulated.
- Parameters:
profile – SPATh | PDOPpler | RAYLeigh
- get_soffset ( ) float
- set_soffset ( start_offset: float ) None
# [SOURce<HW>]:FSIMulator:HSTRain:SOFFset # get: value: float = driver.source.fsimulator.hsTrain.get_soffset() # set: driver.source.fsimulator.hsTrain.set_soffset(start_offset = 1.0)
Shifts the high speed train profile in time. The maximum possible shift is calculated as max = 2``*DS``/v ,where:
DS is the distance in meters between the train and the BS at the beginning of the simulation
v is the velocity of the train in m/s
- Parameters:
start_offset – float Range: 0 to 429.49672950
- get_speed ( ) float
- set_speed ( speed: float ) None
# [SOURce<HW>]:FSIMulator:HSTRain:SPEed # get: value: float = driver.source.fsimulator.hsTrain.get_speed() # set: driver.source.fsimulator.hsTrain.set_speed(speed = 1.0)
Sets the velocity parameter , i.e. the speed of the moving receiver in m/s.
- Parameters:
speed – float Range: 0.001 to depends on settings
- get_state ( ) bool
- set_state ( state: bool ) None
# [SOURce<HW>]:FSIMulator:HSTRain:STATe # get: value: bool = driver.source.fsimulator.hsTrain.get_state() # set: driver.source.fsimulator.hsTrain.set_state(state = False)
Activates/deactivates simulation of High Speed Train propagation according to the selected scenario 1 or 3.
- Parameters:
state – 1 | ON | 0| OFF
Cloning the Group
# Create a copy of the original group, that exists independently
hsTrain_copy = driver.source.fsimulator.hsTrain.clone()
Subgroups