Cfr#

SCPI Commands :

[SOURce<HW>]:BB:ARBitrary:CFR:ALGorithm
[SOURce<HW>]:BB:ARBitrary:CFR:CPBandwidth
[SOURce<HW>]:BB:ARBitrary:CFR:CSPacing
[SOURce<HW>]:BB:ARBitrary:CFR:DCFDelta
[SOURce<HW>]:BB:ARBitrary:CFR:FILTer
[SOURce<HW>]:BB:ARBitrary:CFR:FORDer
[SOURce<HW>]:BB:ARBitrary:CFR:ITERations
[SOURce<HW>]:BB:ARBitrary:CFR:OCFactor
[SOURce<HW>]:BB:ARBitrary:CFR:PFReq
[SOURce<HW>]:BB:ARBitrary:CFR:RCFactor
[SOURce<HW>]:BB:ARBitrary:CFR:SBANdwidth
[SOURce<HW>]:BB:ARBitrary:CFR:SFReq
[SOURce<HW>]:BB:ARBitrary:CFR:TBANdwidth
[SOURce<HW>]:BB:ARBitrary:CFR:[STATe]
Commands in total: 17
Subgroups: 3
Direct child commands: 14
get_algorithm ( ) → CfrAlgo
set_algorithm ( arb_cfr_algorithm: CfrAlgo ) → None
# [SOURce<HW>]:BB:ARBitrary:CFR:ALGorithm
# get:
value: enums.CfrAlgo = driver.source.bb.arbitrary.cfr.get_algorithm()
# set:
driver.source.bb.arbitrary.cfr.set_algorithm(arb_cfr_algorithm = enums.CfrAlgo.CLFiltering)

Defines the algorithm for crest factor reduction.

Parameters:

arb_cfr_algorithm – CLFiltering | PCANcellation

  • CLFiltering: Clipping and filtering algorithm. This algorithm performs a hard clipping of the baseband signal. It is followed by a low pass filtering of the result in an iterative manner until the target crest factor is reached. You can define the settings of the filter that is used for the calculation.

  • PCANcellation: Peak cancelation algorithm. This algorithm subtracts Blackman windowed sinc pulses from the signal wherever the amplitude is above a defined threshold.

get_cp_bandwidth ( ) → float
set_cp_bandwidth ( arb_cfr_canc_pul_bw: float ) → None
# [SOURce<HW>]:BB:ARBitrary:CFR:CPBandwidth
# get:
value: float = driver.source.bb.arbitrary.cfr.get_cp_bandwidth()
# set:
driver.source.bb.arbitrary.cfr.set_cp_bandwidth(arb_cfr_canc_pul_bw = 1.0)

Sets the cancellation pulse bandwidth for peak cancellation CFR algorithm.

Parameters:

arb_cfr_canc_pul_bw – float

get_cspacing ( ) → float
set_cspacing ( arb_cfr_chan_spac: float ) → None
# [SOURce<HW>]:BB:ARBitrary:CFR:CSPacing
# get:
value: float = driver.source.bb.arbitrary.cfr.get_cspacing()
# set:
driver.source.bb.arbitrary.cfr.set_cspacing(arb_cfr_chan_spac = 1.0)

Sets the channel spacing, if method RsSmbv.source.bb.arbitrary.cfr.filter_py() is set to SIMPle.

Parameters:

arb_cfr_chan_spac – float

get_dcfdelta ( ) → float
set_dcfdelta ( arb_cfr_dcf_delta: float ) → None
# [SOURce<HW>]:BB:ARBitrary:CFR:DCFDelta
# get:
value: float = driver.source.bb.arbitrary.cfr.get_dcfdelta()
# set:
driver.source.bb.arbitrary.cfr.set_dcfdelta(arb_cfr_dcf_delta = 1.0)

Sets the value difference by which you want to change your crest factor.

Parameters:

arb_cfr_dcf_delta – float

get_filter_py ( ) → CfrFiltMode
set_filter_py ( arb_cfr_filter_mod: CfrFiltMode ) → None
# [SOURce<HW>]:BB:ARBitrary:CFR:FILTer
# get:
value: enums.CfrFiltMode = driver.source.bb.arbitrary.cfr.get_filter_py()
# set:
driver.source.bb.arbitrary.cfr.set_filter_py(arb_cfr_filter_mod = enums.CfrFiltMode.ENHanced)

Selects which filter mode is used for the filtering.

Parameters:

arb_cfr_filter_mod – SIMPle | ENHanced

get_forder ( ) → int
set_forder ( arb_cfr_max_file_order: int ) → None
# [SOURce<HW>]:BB:ARBitrary:CFR:FORDer
# get:
value: int = driver.source.bb.arbitrary.cfr.get_forder()
# set:
driver.source.bb.arbitrary.cfr.set_forder(arb_cfr_max_file_order = 1)

Sets the maximum filter order, if method RsSmbv.source.bb.arbitrary.cfr.filter_py() is set to ENHanced.

Parameters:

arb_cfr_max_file_order – integer

get_iterations ( ) → int
set_iterations ( arb_cfr_max_iter: int ) → None
# [SOURce<HW>]:BB:ARBitrary:CFR:ITERations
# get:
value: int = driver.source.bb.arbitrary.cfr.get_iterations()
# set:
driver.source.bb.arbitrary.cfr.set_iterations(arb_cfr_max_iter = 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 delta is achieved by 0.1 dB.

Parameters:

arb_cfr_max_iter – integer

get_oc_factor ( ) → float
# [SOURce<HW>]:BB:ARBitrary:CFR:OCFactor
value: float = driver.source.bb.arbitrary.cfr.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:

arb_cfro_crest_factor: float

get_pfreq ( ) → float
set_pfreq ( arb_cfr_pass_band_freq: float ) → None
# [SOURce<HW>]:BB:ARBitrary:CFR:PFReq
# get:
value: float = driver.source.bb.arbitrary.cfr.get_pfreq()
# set:
driver.source.bb.arbitrary.cfr.set_pfreq(arb_cfr_pass_band_freq = 1.0)

Sets the passband frequency, if method RsSmbv.source.bb.arbitrary.cfr.filter_py() is set to ENHanced. Frequency components lower than the passband frequency are passed through unfiltered.

Parameters:

arb_cfr_pass_band_freq – float

get_rc_factor ( ) → float
# [SOURce<HW>]:BB:ARBitrary:CFR:RCFactor
value: float = driver.source.bb.arbitrary.cfr.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:

arb_cfr_res_crest_factor: float

get_sbandwidth ( ) → float
set_sbandwidth ( arb_cfr_signal_bw: float ) → None
# [SOURce<HW>]:BB:ARBitrary:CFR:SBANdwidth
# get:
value: float = driver.source.bb.arbitrary.cfr.get_sbandwidth()
# set:
driver.source.bb.arbitrary.cfr.set_sbandwidth(arb_cfr_signal_bw = 1.0)

Sets the signal bandwidth, if method RsSmbv.source.bb.arbitrary.cfr.filter_py() is set to SIMPle. The value of the signal bandwidth should not be higher than the channel spacing (method RsSmbv.source.bb.arbitrary.cfr.cspacing() ) .

Parameters:

arb_cfr_signal_bw – float

get_sfreq ( ) → float
set_sfreq ( arb_cfr_stop_band_freq: float ) → None
# [SOURce<HW>]:BB:ARBitrary:CFR:SFReq
# get:
value: float = driver.source.bb.arbitrary.cfr.get_sfreq()
# set:
driver.source.bb.arbitrary.cfr.set_sfreq(arb_cfr_stop_band_freq = 1.0)

Sets the stopband frequency of the filter, if method RsSmbv.source.bb.arbitrary.cfr.filter_py() is set to ENHanced. Frequency components higher than the stopband frequency are filtered out by the lowpass filter.

Parameters:

arb_cfr_stop_band_freq – float

get_state ( ) → bool
set_state ( arb_cfr_state: bool ) → None
# [SOURce<HW>]:BB:ARBitrary:CFR:[STATe]
# get:
value: bool = driver.source.bb.arbitrary.cfr.get_state()
# set:
driver.source.bb.arbitrary.cfr.set_state(arb_cfr_state = False)

Enables the crest factor reduction calculation.

Parameters:

arb_cfr_state – 1 | ON | 0| OFF

get_tbandwidth ( ) → float
set_tbandwidth ( dda_rb_cfr_tran_bw: float ) → None
# [SOURce<HW>]:BB:ARBitrary:CFR:TBANdwidth
# get:
value: float = driver.source.bb.arbitrary.cfr.get_tbandwidth()
# set:
driver.source.bb.arbitrary.cfr.set_tbandwidth(dda_rb_cfr_tran_bw = 1.0)

Sets the transition bandwidth of the cancellation pulse for peak cancellation CFR algorithm.

Parameters:

dda_rb_cfr_tran_bw – float

Cloning the Group

# Create a copy of the original group, that exists independently
cfr_copy = driver.source.bb.arbitrary.cfr.clone()

Subgroups