At ESRF there are many AT users, so we needed an AT to Elegant lattice converter.
Maybe someone is interested in our matlab function, I attach here the file.
Your AT elements must have the fields "BetaCode" and "FamName". If you have different fields, like "Class", you have to modify the function.
Some elements, like skew quadrupoles, are not converted.
The extension ".m" is not allowed in the Elegant forum, so I changed it in ".txt", but it is a matlab function.
Nicola Carmignani
AT to Elegant converter
Moderators: cyao, michael_borland
-
- Posts: 8
- Joined: 20 Dec 2012, 08:33
AT to Elegant converter
- Attachments
-
- AT_2_Elegant.txt
- AT_2_Elegant converter matlab function.
- (5.66 KiB) Downloaded 234 times
-
- Posts: 1945
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: AT to Elegant converter
Nicola,
Thanks for posting this.
--Michael
Thanks for posting this.
--Michael