From cb12b8cfc7e1c8660522c39ebf30976363df6b32 Mon Sep 17 00:00:00 2001 From: manuel Date: Sat, 12 Sep 2026 20:30:39 +0000 Subject: [PATCH] Update README.md --- README.md | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/README.md b/README.md index 5b34932..530ef6a 100644 --- a/README.md +++ b/README.md @@ -128,28 +128,6 @@ its parameters, and the derived quantities (`n_g`, `T_lin`, `z_0`, `I_0`, | `bd_fresnel_gui.py` | Tkinter interface, plotting, import/export, logging. Entry point. | | `set_params_dialog.py` | modal dialog for entering one mechanism's parameters. | -## Notes on the port - -The translation follows the MATLAB closely, including its array axis order, so -that intermediate results can be compared directly. Places where this port -deliberately differs are commented at the point of departure. The substantive -ones: - -- **Physical constants** are taken from `scipy.constants` rather than - transcribed. The original hard-coded `c = 299797548` in `calc_beam_params`, a - digit transposition of the correct value used elsewhere in the same codebase, - and truncated Planck's constant to seven figures. Correcting the former - shifts `rho` by about 1.7 × 10⁻⁵ relative. -- **Delay-frame consistency**: the delay grid is derived from the shifted - `τ_d`, matching what the plots and export compare against. The original used - the unshifted values, a mismatch whenever `shift ≠ 0`. -- **Diagnostic instantaneous response**: the original's diagnostic plot used - `n_2e` where its four physics branches all used `2·n_2e`, so the plotted - electronic curve was half the simulated one. The plot now matches the - simulation. -- **Dialog close**: closing the parameter dialog with the window button is - treated as OK. In the original it left the caller's `uiwait` blocked forever. - ## References Please cite the following when using results from this program. -- 2.54.0