Closed vitben closed 8 months ago
hi, the issue is that Octuple is 3d order element and by default we activate first order maps for all elements. To make Octuple work you need to specify for it a different map. method = {"global": SecondTM, Octupole: KickTM}
see more details in tutorial. https://nbviewer.org/github/ocelot-collab/ocelot/blob/dev/demos/ipython_tutorials/small_useful_features.ipynb#TM
Sergey.
Hi Sergey,
Thanks for the very quick answer. Now it works perfectly.
Best,
Vittorio
Hello,
thanks for developing such a good code! I am performing particle tracking of a 6D distribution. The beamline have a set of sextupole and octupole elements. When performing the tracking, I noticed that there is not difference in the case when I include the octupoles and when I do not. Here below you can find the python code for the tracking with and without octupoles.
The octupoles elements I use are defined as follow:
Do you have any ideas of what the issue could be?
Thanks a lot for your help!