CfReduction#

SCPI Commands :

[SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:ALGorithm
[SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:CPBWidth
[SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:ITERations
[SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:OCFactor
[SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:RCFactor
[SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:STATe
[SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:TCRFactor
[SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:TRBWidth
Commands in total: 8
Subgroups: 0
Direct child commands: 8
get_algorithm ( ) → CrestFactoralgorithm
set_algorithm ( cfr_algorithm: CrestFactoralgorithm ) → None
# [SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:ALGorithm
# get:
value: enums.CrestFactoralgorithm = driver.source.bb.nr5G.output.cfReduction.get_algorithm()
# set:
driver.source.bb.nr5G.output.cfReduction.set_algorithm(cfr_algorithm = enums.CrestFactoralgorithm.CLF)

Selects the algorithm used for the crest factor reduction.

Parameters:

cfr_algorithm –

  • CLF: Clipping and filtering algorithm

  • PC: Peak cancellation algorithm

get_cp_bwidth ( ) → float
set_cp_bwidth ( cancel_pulse_bw: float ) → None
# [SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:CPBWidth
# get:
value: float = driver.source.bb.nr5G.output.cfReduction.get_cp_bwidth()
# set:
driver.source.bb.nr5G.output.cfReduction.set_cp_bwidth(cancel_pulse_bw = 1.0)

Sets the bandwidth of the cancellation pulse. Prerequisites for this command

  • method RsSmbv.source.bb.nr5G.output.cfReduction.algorithm() = PC

Parameters:

cancel_pulse_bw – float

get_iterations ( ) → int
set_iterations ( max_iteration: int ) → None
# [SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:ITERations
# get:
value: int = driver.source.bb.nr5G.output.cfReduction.get_iterations()
# set:
driver.source.bb.nr5G.output.cfReduction.set_iterations(max_iteration = 1)

Sets the number of iterations that are used for calculating the resulting crest factor. The iteration process is stopped when the desired crest factor is achieved by 0.1 dB.

Parameters:

max_iteration – integer

get_oc_factor ( ) → int
# [SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:OCFactor
value: int = driver.source.bb.nr5G.output.cfReduction.get_oc_factor()

Queries the original crest factor of the waveform after the calculation of the resulting crest factor is completed. The original crest factor is calculated as an average over the whole waveform, including any idle periods that might be present in TDD waveforms.

Returns:

original_cfr: integer

get_rc_factor ( ) → int
# [SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:RCFactor
value: int = driver.source.bb.nr5G.output.cfReduction.get_rc_factor()

Queries the resulting crest factor of the waveform after the calculations are completed. The resulting crest factor is calculated as an average over the whole waveform, including any idle periods that might be present in TDD waveforms.

Returns:

resulting_cfr: integer

get_state ( ) → bool
set_state ( crest_factor_stat: bool ) → None
# [SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:STATe
# get:
value: bool = driver.source.bb.nr5G.output.cfReduction.get_state()
# set:
driver.source.bb.nr5G.output.cfReduction.set_state(crest_factor_stat = False)

Enables the crest factor reduction calculation.

Parameters:

crest_factor_stat – 1 | ON | 0| OFF

get_tcr_factor ( ) → float
set_tcr_factor ( target_crf: float ) → None
# [SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:TCRFactor
# get:
value: float = driver.source.bb.nr5G.output.cfReduction.get_tcr_factor()
# set:
driver.source.bb.nr5G.output.cfReduction.set_tcr_factor(target_crf = 1.0)

Sets the desired crest factor value.

Parameters:

target_crf – float

get_tr_bwidth ( ) → float
set_tr_bwidth ( transit_bw: float ) → None
# [SOURce<HW>]:BB:NR5G:OUTPut:CFReduction:TRBWidth
# get:
value: float = driver.source.bb.nr5G.output.cfReduction.get_tr_bwidth()
# set:
driver.source.bb.nr5G.output.cfReduction.set_tr_bwidth(transit_bw = 1.0)

Sets the transition bandwidth of the cancellation pulse. Prerequisites for this command

  • method RsSmbv.source.bb.nr5G.output.cfReduction.algorithm() = PC

Parameters:

transit_bw – float