Awgn

SCPI Commands :

[SOURce<HW>]:AWGN:BRATe
[SOURce<HW>]:AWGN:CNRatio
[SOURce<HW>]:AWGN:ENRatio
[SOURce<HW>]:AWGN:MODE
[SOURce<HW>]:AWGN:STATe
Commands in total: 22
Subgroups: 5
Direct child commands: 5
get_brate() float[source]
# [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.

Returns:

brate: float Range: 400 to depends on options

get_cn_ratio() float[source]
# [SOURce<HW>]:AWGN:CNRatio
value: float = driver.source.awgn.get_cn_ratio()

Sets the carrier/interferer ratio.

Returns:

cn_ratio: float Range: -50 to depends on options

get_en_ratio() float[source]
# [SOURce<HW>]:AWGN:ENRatio
value: float = driver.source.awgn.get_en_ratio()

Sets the ratio of bit energy to noise power density.

Returns:

en_ratio: float Range: -50 to depends on options, Unit: dB

get_mode() NoisAwgnMode[source]
# [SOURce<HW>]:AWGN:MODE
value: enums.NoisAwgnMode = driver.source.awgn.get_mode()

Determines how the interfering signal is generated.

Returns:

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]
# [SOURce<HW>]:AWGN:STATe
value: bool = driver.source.awgn.get_state()

Activates or deactivates the AWGN generator or the corresponding stream. See also ‘Suffixes in the keywords ENTity<ch> and SOURce<hw>’.

Returns:

state: 1 | ON | 0| OFF

set_brate(brate: float) None[source]
# [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.

Parameters:

brate – float Range: 400 to depends on options

set_cn_ratio(cn_ratio: float) None[source]
# [SOURce<HW>]:AWGN:CNRatio
driver.source.awgn.set_cn_ratio(cn_ratio = 1.0)

Sets the carrier/interferer ratio.

Parameters:

cn_ratio – float Range: -50 to depends on options

set_en_ratio(en_ratio: float) None[source]
# [SOURce<HW>]:AWGN:ENRatio
driver.source.awgn.set_en_ratio(en_ratio = 1.0)

Sets the ratio of bit energy to noise power density.

Parameters:

en_ratio – float Range: -50 to depends on options, Unit: dB

set_mode(mode: NoisAwgnMode) None[source]
# [SOURce<HW>]:AWGN:MODE
driver.source.awgn.set_mode(mode = enums.NoisAwgnMode.ADD)

Determines how the interfering signal is generated.

Parameters:

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]
# [SOURce<HW>]:AWGN:STATe
driver.source.awgn.set_state(state = False)

Activates or deactivates the AWGN generator or the corresponding stream. See also ‘Suffixes in the keywords ENTity<ch> and SOURce<hw>’.

Parameters:

state – 1 | ON | 0| OFF

Cloning the Group

# Create a copy of the original group, that exists independently
awgn_copy = driver.source.awgn.clone()

Subgroups