Page 1 of 1

AT to Elegant converter

Posted: 11 Jun 2013, 04:44
by NicolaCarmignani
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

Re: AT to Elegant converter

Posted: 11 Jun 2013, 08:03
by michael_borland
Nicola,

Thanks for posting this.

--Michael