sddsmatchtwiss question

Moderators: cyao, michael_borland

Post Reply
simona.bettoni
Posts: 45
Joined: 06 Jul 2011, 03:14

sddsmatchtwiss question

Post by simona.bettoni » 03 Feb 2015, 05:58

Hello to all,
I am trying to use sddsmatchtwiss and maybe I misunderstood how it works. I understood that it is changing the particle distribution to have a given projected beta and alpha.

I used it like this:
sddsmatchtwiss Linear_post.sdds Matched.sdds -xPlane=beta=22,alpha=1.997674 -yPlane=beta=22,alpha=1.997674

To check what I get I do:
elegant2genesis Matched.sdds test.txt -slice=200 -TotalCharge=200e-12
sddsplot test.txt -col=s,alphax
This is what I obtain: see attached plot

sddsanalyzebeam Matched.sdds aa.txt
sddsprintout aa.txt -col=alphax
and I get exactly what I set with sddsmatchtwiss

Printout for SDDS file aa.txt

alphax
---------------
1.997674e+00

Am I doing anything wrong? This is an extreme bunch (alpha very high), but I checked also with a beam with alpha ~1-2 and I have the same problem.
Thanks in advance,
Simona.
Attachments
Linear_post.sdds
(294.35 KiB) Downloaded 165 times
Matched.sdds
(294.35 KiB) Downloaded 153 times
Out.png
Out.png (11.11 KiB) Viewed 1669 times

simona.bettoni
Posts: 45
Joined: 06 Jul 2011, 03:14

Re: sddsmatchtwiss question

Post by simona.bettoni » 05 Feb 2015, 05:22

Hi,
Now it's fine.
Thanks in any case,
Simona.

Post Reply