Differece between the envlope plots and the phase-space plots

https://www.dacm-logiciels.fr/tracewin
Post Reply
ChinaEmily
Neophyte
Neophyte
Posts: 12
Joined: Thu 14 Jan 2021 02:28
Country:
China (cn)
China

Differece between the envlope plots and the phase-space plots

Post by ChinaEmily »

Dear Didier,
I found differece between the envlope plots and the phase-space plots, I don't know why?
As shown in the following picture, there are two phase-space plots, the upper one is the input distribution, and the lower one is the output distribution. For the output distribution, the beam beta are different with those from the envelope plots.
Best regards,
Emily
Attachments
3.png
3.png (476.33 KiB) Viewed 3346 times
User avatar
FranceDidier
Administrator
Administrator
Posts: 975
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Differece between the envlope plots and the phase-space plots

Post by FranceDidier »

Dear Emily,

I am really unable to have an opinion on what you are telling me.
I have very few information and without your project files I can not really help you.

Regards,

Didier
ChinaEmily
Neophyte
Neophyte
Posts: 12
Joined: Thu 14 Jan 2021 02:28
Country:
China (cn)
China

Re: Differece between the envlope plots and the phase-space plots

Post by ChinaEmily »

Dear Didier,
Sorry, this is a general problem. I tried the project DTL_2.ini(from TraceWin examples) and found the same results. At the end of the lattice, the beam beta from the envelope plot and the phase-space plot are different, as following:
Best regards,
Emily
Attachments
DTL_2_envelope.txt
(951 Bytes) Downloaded 198 times
2.png
2.png (40.65 KiB) Viewed 3340 times
1.png
1.png (97.29 KiB) Viewed 3340 times
ChinaEmily
Neophyte
Neophyte
Posts: 12
Joined: Thu 14 Jan 2021 02:28
Country:
China (cn)
China

Re: Differece between the envlope plots and the phase-space plots

Post by ChinaEmily »

Dear Didier,
However, at the end of the lattice, the rms beam sizes from the envelope plot are exactly same with those from the phase-space plot, as following:
Best regards,
Emily
Attachments
4.png
4.png (58.53 KiB) Viewed 3339 times
3.png
3.png (85.7 KiB) Viewed 3339 times
User avatar
FranceDidier
Administrator
Administrator
Posts: 975
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Differece between the envlope plots and the phase-space plots

Post by FranceDidier »

Dear Emily,

Ok, I understand now.
The difference comes from the definition of the betX-Y function plotted in the envelope graph which is different from the one used in the twiss parameter of the beam distribution.
The typical difference is that the emittance used to calculate the twiss parameter (env) is the starting emittance of the simulation. This is the definition we usually use here, but I confess I don't remember the exact reason (see "Beta X&Y function" chapter in manual (page 164))

Regards,

Didier
ChinaEmily
Neophyte
Neophyte
Posts: 12
Joined: Thu 14 Jan 2021 02:28
Country:
China (cn)
China

Re: Differece between the envlope plots and the phase-space plots

Post by ChinaEmily »

Dear Didier,
I checked the beta function, but the calculated beta are different with both beta(env) and beta(par),please see the attached files. Of course, I used the non normalized emittance at the beginning of the structure. Thank you!
Best regards,
Emily
Attachments
DTL_2.cal
(238 Bytes) Downloaded 208 times
DTL_2.dat
(8.46 KiB) Downloaded 192 times
DTL_2.ini
(30.88 KiB) Downloaded 204 times
DTL_2.pdf
(265.75 KiB) Downloaded 171 times
User avatar
FranceDidier
Administrator
Administrator
Posts: 975
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: Differece between the envlope plots and the phase-space plots

Post by FranceDidier »

Dear Emily,

I'm sorry for that, but the documentation was not exact about the calculation of the bet, which explains your discrepancies in the results. I have corrected it as follows.
betxy.png
betxy.png (27.44 KiB) Viewed 3320 times
Regards,

Didier
Post Reply