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
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