Silas work PC
eye diagram working for all signals again... A problem: I found that the Tx eyes look weird (i.e. PAM-8) vibecoded ML_MLSE_GPU ... a bit faster :-)
This commit is contained in:
@@ -23,7 +23,7 @@ try
|
||||
|
||||
if options.mode == "load_run_id" || options.append_to_db
|
||||
% Initialize database connection
|
||||
database = DBHandler("dataBase", [options.dataBase], "type", options.database_type );
|
||||
database = DBHandler("dataBase", [options.dataBase], "type", options.database_type, 'user',"silas","password","silas","server","134.245.243.254");
|
||||
|
||||
if 0
|
||||
% 2. Check if an equalizer configuration with the same hash exists
|
||||
@@ -95,7 +95,7 @@ try
|
||||
adaption= 1;
|
||||
use_dd_mode = 1;
|
||||
|
||||
use_ffe = 1;
|
||||
use_ffe = 0;
|
||||
use_dfe = 0;
|
||||
use_vnle_mlse = 0;
|
||||
use_dbtgt = 0;
|
||||
|
||||
34
Functions/Theory/Dissertation/dispersion_around_zdw.m
Normal file
34
Functions/Theory/Dissertation/dispersion_around_zdw.m
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
% plot_dispersion_models
|
||||
% ------------------------------------------------------------
|
||||
% Visualizes exact and linearized chromatic dispersion D(λ)
|
||||
% around the zero-dispersion wavelength (ZDW).
|
||||
%
|
||||
% Inputs:
|
||||
% lambda0_nm - ZDW in nm
|
||||
% S0 - dispersion slope at ZDW [ps/(nm^2·km)]
|
||||
% ------------------------------------------------------------
|
||||
|
||||
lambda0_nm = 1310;
|
||||
S0 = 0.08;
|
||||
% wavelength axis around ZDW
|
||||
lambda_nm = linspace(lambda0_nm-40, lambda0_nm+40, 400);
|
||||
|
||||
% exact dispersion model
|
||||
D_exact = (S0/4) .* ( ...
|
||||
lambda_nm - (lambda0_nm^4)./(lambda_nm.^3) );
|
||||
|
||||
% linearized model around ZDW
|
||||
D_lin = S0 .* (lambda_nm - lambda0_nm);
|
||||
|
||||
% plot
|
||||
figure('Color','w'); hold on;
|
||||
plot(lambda_nm, D_exact, 'LineWidth',2, 'DisplayName','Exact model');
|
||||
plot(lambda_nm, D_lin, '--', 'LineWidth',2, 'DisplayName','Linearized model');
|
||||
|
||||
xlabel('Wavelength \lambda [nm]');
|
||||
ylabel('Dispersion D(\lambda) [ps/(nm·km)]');
|
||||
title('Chromatic Dispersion Around the ZDW');
|
||||
legend('Location','best');
|
||||
grid on; box on;
|
||||
|
||||
@@ -9,7 +9,7 @@ L = 1; % km
|
||||
|
||||
% Dispersion berechnen (lineare Näherung)
|
||||
D = S0 .* ( lambda - Lambda0 ) * L;
|
||||
% D = (S0./4) .* ( lambda - (Lambda0.^4)./(lambda^3) ) * L;
|
||||
D = (S0./4) .* ( lambda - (Lambda0.^4)./(lambda^3) ) * L;
|
||||
|
||||
%% 2D-Konturplot nur mit Linien und Text
|
||||
figure('Color','w');
|
||||
|
||||
Reference in New Issue
Block a user