Michael,
Is there a way to have a special distribution in the &bunch parameter to generate particle distributed on the perimeter of an ellipse. This would enable tracking equivalent-beam ellipses to, e.g., study the impact of chromatic aberrations.
Right now the only alternative I found was to generate the ellipses particle distribution in PYTHON (but maybe there an easier way with sdds). Thank you, -- Philippe.
ellipse distribution
Moderators: cyao, michael_borland
-
- Posts: 83
- Joined: 20 Aug 2008, 13:18
- Location: Northern Illinois University & Argonne National Laboratory
- Contact:
-
- Posts: 1959
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: ellipse distribution
Philippe,
Yes, you can do that using the distribution_type parameter in bunched_beam, e.g.,
This will generate an ellipse with semi-axes of 1mm and 1mrad.
--Michael
Yes, you can do that using the distribution_type parameter in bunched_beam, e.g.,
Code: Select all
&bunched_beam
emit_x = 1e-6
beta_x = 1
distribution_type[0] = "shell"
n_particles_per_bunch = 100
&end
--Michael