diff --git a/projects/WDM/WDM_auswertung.m b/projects/WDM/WDM_auswertung.m index 32c6cee..d13c97f 100644 --- a/projects/WDM/WDM_auswertung.m +++ b/projects/WDM/WDM_auswertung.m @@ -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; diff --git a/projects/WDM/WDM_model.m b/projects/WDM/WDM_model.m index faa74e6..c72a985 100644 --- a/projects/WDM/WDM_model.m +++ b/projects/WDM/WDM_model.m @@ -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;