Awgn
SCPI Commands :
[SOURce<HW>]:AWGN:BRATe
[SOURce<HW>]:AWGN:CNRatio
[SOURce<HW>]:AWGN:ENRatio
[SOURce<HW>]:AWGN:MODE
[SOURce<HW>]:AWGN:STATe
- class AwgnCls[source]
Awgn commands group definition. 22 total commands, 5 Subgroups, 5 group commands
- get_brate() float [source]
# SCPI: [SOURce<HW>]:AWGN:BRATe value: float = driver.source.awgn.get_brate()
Sets the bit rate used for calculation of bit energy to noise power ratio. Valid units are bps, kbps and mabps as well as b/s, kb/s and mab/s.
- return
brate: float Range: 400 to depends on the installed options
- get_cn_ratio() float [source]
# SCPI: [SOURce<HW>]:AWGN:CNRatio value: float = driver.source.awgn.get_cn_ratio()
Sets the carrier/interferer ratio.
- return
cn_ratio: float Range: -50 to 45
- get_en_ratio() float [source]
# SCPI: [SOURce<HW>]:AWGN:ENRatio value: float = driver.source.awgn.get_en_ratio()
Sets the ratio of bit energy to noise power density.
- return
en_ratio: float Range: -50 to depends on the installed options, Unit: dB
- get_mode() RsSmbv.enums.NoisAwgnMode [source]
# SCPI: [SOURce<HW>]:AWGN:MODE value: enums.NoisAwgnMode = driver.source.awgn.get_mode()
Determines how the interfering signal is generated.
- return
mode: ONLY| ADD| CW ADD The AWGN noise signal is added to the baseband signal. ONLY The pure AWGN noise signal is modulated to the carrier. The connection to the baseband is interrupted CW The sine interfering signal is added to the baseband signal.
- get_state() bool [source]
# SCPI: [SOURce<HW>]:AWGN:STATe value: bool = driver.source.awgn.get_state()
Activates or deactivates the AWGN generator.
- return
state: 1| ON| 0| OFF
- set_brate(brate: float) None [source]
# SCPI: [SOURce<HW>]:AWGN:BRATe driver.source.awgn.set_brate(brate = 1.0)
Sets the bit rate used for calculation of bit energy to noise power ratio. Valid units are bps, kbps and mabps as well as b/s, kb/s and mab/s.
- param brate
float Range: 400 to depends on the installed options
- set_cn_ratio(cn_ratio: float) None [source]
# SCPI: [SOURce<HW>]:AWGN:CNRatio driver.source.awgn.set_cn_ratio(cn_ratio = 1.0)
Sets the carrier/interferer ratio.
- param cn_ratio
float Range: -50 to 45
- set_en_ratio(en_ratio: float) None [source]
# SCPI: [SOURce<HW>]:AWGN:ENRatio driver.source.awgn.set_en_ratio(en_ratio = 1.0)
Sets the ratio of bit energy to noise power density.
- param en_ratio
float Range: -50 to depends on the installed options, Unit: dB
- set_mode(mode: RsSmbv.enums.NoisAwgnMode) None [source]
# SCPI: [SOURce<HW>]:AWGN:MODE driver.source.awgn.set_mode(mode = enums.NoisAwgnMode.ADD)
Determines how the interfering signal is generated.
- param mode
ONLY| ADD| CW ADD The AWGN noise signal is added to the baseband signal. ONLY The pure AWGN noise signal is modulated to the carrier. The connection to the baseband is interrupted CW The sine interfering signal is added to the baseband signal.
- set_state(state: bool) None [source]
# SCPI: [SOURce<HW>]:AWGN:STATe driver.source.awgn.set_state(state = False)
Activates or deactivates the AWGN generator.
- param state
1| ON| 0| OFF
Cloning the Group
# Create a clone of the original group, that exists independently
group2 = driver.source.awgn.clone()
Subgroups