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

View File

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