Page 1 of 1

Gaussian beam initialization with moments_output results

Posted: 08 Jul 2016, 21:08
by duanz
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

Re: Gaussian beam initialization with moments_output results

Posted: 11 Jul 2016, 08:38
by michael_borland
Zhe,

That's a good suggestion. I'll try to have it in the next release.

--Michael

Re: Gaussian beam initialization with moments_output results

Posted: 11 Nov 2019, 03:06
by duanz
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

Re: Gaussian beam initialization with moments_output results

Posted: 20 Nov 2019, 16:43
by michael_borland
Zhe,

This bug will be fixed in the next release.

Thanks for letting me know.

--Michael