Page 1 of 1

Slice energy spread

Posted: 02 Mar 2020, 05:35
by simona.bettoni
Hi to all,
I would like to plot the slice energy spread of the beam.
I use elegant2genesis to determine the slice parameters of the bunch:
elegant2genesis SwissFEL.SINBC01.DBPM080_200k.w1 cc_200_50.txt -slices=50 -TotalCharge=200e-12
After that I use sddplot to visuallize the slice energy spread along the bunch:
sddsplot cc_200_50.txt -col=s,Sdelta
I get something which does not change if I vary the number of particles: 200k, 400k and 800k.
When I vary the number of slices I get different values.
I attach the plots I get, and the distributions I used.
Many thanks for any suggestion,
Simona.

Re: Slice energy spread

Posted: 02 Mar 2020, 10:25
by simona.bettoni
Hi again,
discussing also with a colleague, there was the doubt that this may be due to the fact that the distribution has an energy chirp. I tried to slice to 4000, 5000, 8000 slices (see attached screenshot). In parallel I took the distribution, I removed the linear part and I computed the slice energy spread, and this seems to converge.
Best regards,
Simona.