Matrix of dipole edge

https://www.dacm-logiciels.fr/tracewin
Post Reply
Francesmorard
Beginner
Beginner
Posts: 9
Joined: Fri 6 Mar 2026 13:47
Country:
France (fr)
France

Matrix of dipole edge

Post by Francesmorard »

Dear Didier,

As I was trying to evaluate the dispersion of a dipole, I found that I get different values from TraceWin, Trace3D and matrix calculation. While looking in more detail, I found difference between tracewin EDGE matrix and the matrix calculation I did using the same definitions as in the documentation of TraceWin. However Trace3D is in agreement with my calculation. I would like to clarify if some definition changed in TraceWin or if we can understand where these differences come from.

Thanks in advance,
Sophie
Attachments
202611_dipole_edge.py
(2.09 KiB) Downloaded 3 times
test_dispesion_dipole.ini
(43.77 KiB) Downloaded 1 time
test_dispesion_dipole.dat
(114 Bytes) Downloaded 5 times
User avatar
FranceDidier
Administrator
Administrator
Posts: 1366
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Matrix of dipole edge

Post by FranceDidier »

Dear Sophie,

I don't think the definitions of dipoles and edge have changed in TraceWin, but it's difficult to verify based on the documentation, so I give the documentation, the source code, your Python code, and the *.dat file to 2 AI and both concluded that the three were identical except for the rounding you do in the Python code with the line "round(..., 1)” that appears throughout the code.
Of course, they could be wrong, could you show me the differences you’ve noticed? That might help me dig a little deeper.

Regards,

Didier
Post Reply