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.
Slice energy spread
Moderators: cyao, michael_borland
-
- Posts: 45
- Joined: 06 Jul 2011, 03:14
Slice energy spread
- Attachments
-
- SwissFEL.SINBC01.DBPM080_800k.txt
- I had to change the extension from w1 to txt to upload
- (45.78 MiB) Downloaded 151 times
-
- SwissFEL.SINBC01.DBPM080_200k.txt
- I had to change the extension from w1 to txt to upload
- (11.45 MiB) Downloaded 150 times
-
- QuestionDESpread.pdf
- (353.32 KiB) Downloaded 201 times
-
- Posts: 45
- Joined: 06 Jul 2011, 03:14
Re: Slice energy spread
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.
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.