WDM stuff

This commit is contained in:
Silas Oettinghaus
2025-10-08 09:50:14 +02:00
parent 9d63457030
commit a0ae47a2a0
2 changed files with 5 additions and 4 deletions

View File

@@ -1,16 +1,17 @@
figure(); hold on;
cols = cbrewer2('set2',N); % one color per wavelength (Ch)
try
rop = res.settings.rop; % 12 points
wavelengthplan = res.settings.wavelengthplan;
catch
wavelengthplan = [1295,1305,1315,1325];
% wavelengthplan = calcWavelengthPlan(16,400e9,1310);
wavelengthplan = calcWavelengthPlan(16,400e9,1310);
rop = -8.25:0.75:0;
end
N = length(wavelengthplan);
figure(); hold on;
cols = cbrewer2('set2',N); % one color per wavelength (Ch)
fec = 2.2e-4;
fec = 3.8e-3;

View File

@@ -4,7 +4,7 @@
run(fullfile(fileparts(mfilename('fullpath')),'WDM_settings.m'));
s = struct;
s.num_realiz = 1;
% s.wavelengthplan = calcWavelengthPlan(16,400e9,1310);
s.wavelengthplan = calcWavelengthPlan(16,400e9,1310);
s.wavelengthplan = [1295,1305,1315,1325];
s.link_length = 2;
s.pmd = 0.0;