Dear Michael,
It seems the bunched_beam command does not have an option to generate a Guassian beam matched to a ring lattice with transverse coupling. I understand one can initialize a beam with the result of twiss_output and track in the ring for several damping times to obtain a properly matched Gaussian beam, but it would be more straightforward if bunched_beam command could intialize a beam using the results of moments_output directively. Thanks!
Zhe
Gaussian beam initialization with moments_output results
Moderators: cyao, michael_borland
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Gaussian beam initialization with moments_output results
Zhe,
That's a good suggestion. I'll try to have it in the next release.
--Michael
That's a good suggestion. I'll try to have it in the next release.
--Michael
Re: Gaussian beam initialization with moments_output results
Hi Michael,
There is one small inconsistancy when I tried to initialize a beam with bunched_beam by setting use_moments_output_values=1, the particleIDs of the generated bunch are all zero, in contrast, setting use_twiss_command_values=1 produces a bunch with particleID ranging from 1 to number of particles. I used the latest elegant version.
Best,
Zhe
There is one small inconsistancy when I tried to initialize a beam with bunched_beam by setting use_moments_output_values=1, the particleIDs of the generated bunch are all zero, in contrast, setting use_twiss_command_values=1 produces a bunch with particleID ranging from 1 to number of particles. I used the latest elegant version.
Best,
Zhe
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Gaussian beam initialization with moments_output results
Zhe,
This bug will be fixed in the next release.
Thanks for letting me know.
--Michael
This bug will be fixed in the next release.
Thanks for letting me know.
--Michael