Gaussian beam initialization with moments_output results

Moderators: cyao, michael_borland

Post Reply
duanz
Posts: 50
Joined: 30 May 2009, 01:50

Gaussian beam initialization with moments_output results

Post by duanz » 08 Jul 2016, 21:08

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

michael_borland
Posts: 1927
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Gaussian beam initialization with moments_output results

Post by michael_borland » 11 Jul 2016, 08:38

Zhe,

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

--Michael

duanz
Posts: 50
Joined: 30 May 2009, 01:50

Re: Gaussian beam initialization with moments_output results

Post by duanz » 11 Nov 2019, 03:06

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

michael_borland
Posts: 1927
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: Gaussian beam initialization with moments_output results

Post by michael_borland » 20 Nov 2019, 16:43

Zhe,

This bug will be fixed in the next release.

Thanks for letting me know.

--Michael

Post Reply