-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import Lattice from other simulator? (ex: elegant) #25
Comments
Hi, yes.
After launching this script, you in will have ocelot lattice file. Note that not all elegant's elements conversion is yet implemented. If you will need any assistance let me know. Also if you will need, I can extend conversion possibilities. |
I run the script and get these kinds of result WARNING! Unknown element CHARGE with type CHARGE was skiped
WARNING! Unknown element MALIN with type MALIGN was skiped
WARNING! Unknown element INJEND with type WATCH was skiped
WARNING! Unknown element L0_END with type WATCH was skiped
WARNING! Unknown element D_QEND0 with type CSRDRIFT was changed by Drift
.... And I summarize the issue like below.
Since I am relatively new to accelerator, I would be grateful if I can get some help on this issue. Thank you. |
Hi,
|
Warning messages look OK. They tell you what elements are not converted one to one. According to the difference between modules Note that after automatic lattice conversion you have to manually check the conversion results that all features of the lattice are correctly converted. Because of the lattice definition for Elegant and Ocelot is completely different.
How to take into account CSR and Wakes you can find into Tutorials 4 and 5. For additional assistance let us know. We will try to help you. |
Hi, I was working with the
elegant
simulator and I heard aboutocelot
from ICFA ML meeting.I was accustomed to python, so I want to migrate some lattice from
elegant
. But, lattice file ofelegant
, which is format of*.LTE
is about ~4000 line and it is almost impossible to move this by hand.Is there any support function for converting lattice from
elegant
toocelot
?The text was updated successfully, but these errors were encountered: