Plots here now
This commit is contained in:
@@ -15,11 +15,12 @@ end
|
||||
|
||||
%% Execution toggles
|
||||
|
||||
run_conventional_ffe = 1;
|
||||
run_a2_tracked_levels = 1;
|
||||
run_a2_residual = 1;
|
||||
run_a1 = 1;
|
||||
run_tracking_adaptive = 1;
|
||||
run_conventional_ffe = 0;
|
||||
run_hpf = 1;
|
||||
run_a2_tracked_levels = 0;
|
||||
run_a2_residual = 0;
|
||||
run_a1 = 0;
|
||||
run_tracking_adaptive = 0;
|
||||
plot_output_signals = 0;
|
||||
|
||||
%% Shared fixed EQ settings
|
||||
@@ -49,6 +50,7 @@ if plot_output_signals
|
||||
"fignum", 400, ...
|
||||
"normalize", true);
|
||||
end
|
||||
|
||||
%% Conventional FFE
|
||||
if run_conventional_ffe
|
||||
eq_ffe = FFE_plain( ...
|
||||
@@ -78,6 +80,41 @@ if run_conventional_ffe
|
||||
end
|
||||
end
|
||||
|
||||
%% Conventional FFE
|
||||
if run_hpf
|
||||
eq_ffe = FFE_plain( ...
|
||||
"sps", eq_sps, ...
|
||||
"order", eq_order, ...
|
||||
"decide", false, ...
|
||||
"adaption_technique", eq_adaption, ...
|
||||
"len_tr", eq_len_tr, ...
|
||||
"epochs_tr", eq_epochs_tr, ...
|
||||
"mu_tr", eq_mu_tr, ...
|
||||
"dd_mode", true, ...
|
||||
"epochs_dd", eq_epochs_dd, ...
|
||||
"mu_dd", 0.0012, ...
|
||||
"optmize_mus", false, ...
|
||||
"plot_mu_optimization", options.debug_plots, ...
|
||||
"save_debug", eq_save_debug);
|
||||
|
||||
%%% APPLY HPF in MHZ order
|
||||
f = Filter("f_cutoff",options.userParameters.hpf,"filterType","butterworth","lowpass",0,"filtdegree",4,"fs",options.fsym*2);
|
||||
Scpe_sig = f.process(Scpe_sig);
|
||||
|
||||
storageName = "HPF_plus_conventional_FFE";
|
||||
[ffe_results,equalized_signal] = runFfe(eq_ffe, "Conventional FFE", ...
|
||||
Scpe_sig, Symbols, Tx_bits, options);
|
||||
ffe_results = attachMpiReductionConfig(ffe_results, eq_ffe, storageName, ...
|
||||
"HPF_plus_conventional_FFE", "hpf", block_update);
|
||||
output.(char(storageName)) = ffe_results;
|
||||
|
||||
if plot_output_signals
|
||||
plotEqSignals(equalized_signal,Symbols,options,400,-1);
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
%% A2 tracked-level decision
|
||||
if run_a2_tracked_levels
|
||||
eq_ffe = FFE_A2TrackedLevels( ...
|
||||
@@ -92,8 +129,8 @@ if run_a2_tracked_levels
|
||||
"epochs_dd", eq_epochs_dd, ...
|
||||
"mu_dd", 0.012, ...
|
||||
"dc_smoothing_a2", 1, ...
|
||||
"dc_level_avg_bufferlength_a2", 112, ...
|
||||
"dc_level_update_blocklength_a2", block_update, ...
|
||||
"dc_level_avg_bufferlength_a2", 112, ... %war 112
|
||||
"dc_level_update_blocklength_a2", block_update, ... % war block_update
|
||||
"dc_level_weights_a2", [1], ...
|
||||
"save_debug", eq_save_debug);
|
||||
|
||||
@@ -190,7 +227,7 @@ if run_tracking_adaptive
|
||||
"optmize_mus", false, ...
|
||||
"optimize_dc_tracking_params", true, ...
|
||||
"dc_tracking_optimization_len", 2^15, ...
|
||||
"dc_tracking_optimization_max_evals", 20, ...
|
||||
"dc_tracking_optimization_max_evals", 30, ...
|
||||
"plot_mu_optimization", options.debug_plots, ...
|
||||
"save_debug", eq_save_debug);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user