-
Notifications
You must be signed in to change notification settings - Fork 31
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
pyAT Error when calculating damping ring #767
Comments
Hello, This element has issues, see #749, and I would not recommend to use it for the moment. Depending on what you are trying to model, you may alternatively use kick maps or the energy loss element to approximate your wiggler. |
Hello @ustc-cheese, There is a bug in both
there should be
If you just want to get around this issue, you can change this line of code in your local wiggler passmethods. Nevertheless, I would not recommend doing this, since these passmetods have additional bugs which can lead you to incorrect results. As @swhite2401 suggested, I would avoid using the current distribution of All these bugs are fixed for both Hope this helps, Joan |
Thank you all! Hoping for your soon correction! |
Hello everyone
I am currently working with storage ring with wigglers. But the radiation_parameter will get "AttributeError: 'Wiggler' object has no attribute 'Energy'". Did I do someting wrong or what?
The wiggler was imported in a mat file reads:
period_length = 0.9/8;
l_und = 0.9;
Bmax = 4.531017900217211;
Energy = 800e6;
WIG2 = atwiggler('WIG2', l_und, period_length, Bmax,Energy,'GWigSymplecticPass');
Thank you all
Best Regards
Weijie
The text was updated successfully, but these errors were encountered: