Describe the bug
Using undulators in helical mode does not reproduce balanced focusing and still uses kx = 1 and ky = 0 as roll-off parameters.
Explicitly setting these paramters to 0.5 each solves it but it should be part of the default behaviour.
The coupling is not affected and shows the correct scaling.
To Reproduce
A file is attached which shows the electron beam size. IT is clear that the blue curve (beam size in x) reflects a drift while in y it is focussed.
Describe the bug Using undulators in helical mode does not reproduce balanced focusing and still uses kx = 1 and ky = 0 as roll-off parameters. Explicitly setting these paramters to 0.5 each solves it but it should be part of the default behaviour.
The coupling is not affected and shows the correct scaling.
To Reproduce A file is attached which shows the electron beam size. IT is clear that the blue curve (beam size in x) reflects a drift while in y it is focussed.