AT to Elegant converter
Posted: 11 Jun 2013, 04:44
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
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