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
Matrix of dipole edge
Matrix of dipole edge
- Attachments
-
- 202611_dipole_edge.py
- (2.09 KiB) Downloaded 2 times
-
- test_dispesion_dipole.ini
- (43.77 KiB) Downloaded 1 time
-
- test_dispesion_dipole.dat
- (114 Bytes) Downloaded 4 times
Re: Matrix of dipole edge
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
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

