updates from lab pc during ecoc sprint
This commit is contained in:
@@ -2,23 +2,36 @@
|
||||
|
||||
% === Prepare base configuration ===
|
||||
% databasePath = 'C:\Users\sioe\Documents\MATLAB\imdd_simulation\projects\ECOC_2025\';
|
||||
databasePath = 'Z:\2025\ECOC Silas\';
|
||||
database_name = 'ecoc2025_loops.db';
|
||||
db = DBHandler("pathToDB", [databasePath, database_name]);
|
||||
conf = db.tables.Configurations;
|
||||
confPrev = db.tables.Configurations;
|
||||
local = 1;
|
||||
if local
|
||||
databasePath = 'C:\Users\sioe\Documents\MATLAB\imdd_simulation\projects\ECOC_2025\';
|
||||
savePath = 'Z:\2025\ECOC Silas\ecoc_2025\';
|
||||
else
|
||||
databasePath = 'C:\Users\sioe\Documents\MATLAB\imdd_simulation\projects\ECOC_2025\';
|
||||
savePath = 'Z:\2025\ECOC Silas\ecoc_2025\';
|
||||
end
|
||||
|
||||
awg_upload_required = 0;
|
||||
database_name = 'ecoc2025_loops.db';
|
||||
|
||||
db = DBHandler("pathToDB", [databasePath, database_name],"type",'mysql');
|
||||
|
||||
conf = db.tables.Configurations;
|
||||
if ~exist('confPrev','var')
|
||||
confPrev = db.tables.Configurations;
|
||||
end
|
||||
|
||||
awg_upload_required = 1; %still uploads every first round
|
||||
subimt_DSP = 1;
|
||||
recordlen = 5000000;
|
||||
sequence_order = 17;
|
||||
n_recording = 1; % Or any number you want
|
||||
|
||||
% Define vector parameters directly in conf:
|
||||
conf.unique_elab_id = "20250408-842b0a3078172b48dd032795226fbe683190afc4";
|
||||
conf.symbolrate = 112e9;
|
||||
conf.bitrate = conf.symbolrate .* floor(log2(6)*10)/10;
|
||||
conf.pam_level = 4;
|
||||
conf.db_mode = db_mode.no_db;
|
||||
conf.pulsef_alpha = 0.2;
|
||||
conf.v_bias = 2.5;
|
||||
conf.v_awg = 0.95;
|
||||
conf.v_bias = 2.65;
|
||||
conf.v_awg = 0.9;
|
||||
conf.precomp_amp = -64; %-64
|
||||
conf.wavelength = 1310;
|
||||
conf.laser_power = 11;
|
||||
@@ -26,8 +39,11 @@ conf.fiber_length = 0;
|
||||
conf.pd_in_desired = 9;
|
||||
conf.is_mpi = 1;
|
||||
conf.signal_attenuation = 0;
|
||||
conf.interference_path_length = 1000; %m
|
||||
conf.interference_attenuation = [40,20:-1:0];
|
||||
conf.interference_path_length = 0; %m
|
||||
conf.interference_attenuation = 40;%[0:2:30,40];
|
||||
conf.pam_level = 4;%[4,6,8];
|
||||
conf.symbolrate = 56e9;%[56,72,96,112].*1e9;
|
||||
conf.bitrate = conf.symbolrate .* floor(log2(6)*10)/10;
|
||||
conf.pam_source = [];
|
||||
|
||||
if conf.is_mpi
|
||||
|
||||
Reference in New Issue
Block a user