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
Differece between the envlope plots and the phase-space plots
Differece between the envlope plots and the phase-space plots
- Attachments
-
- 3.png (476.33 KiB) Viewed 3497 times
Re: Differece between the envlope plots and the phase-space plots
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
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
Re: Differece between the envlope plots and the phase-space plots
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
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 207 times
-
- 2.png (40.65 KiB) Viewed 3491 times
-
- 1.png (97.29 KiB) Viewed 3491 times
Re: Differece between the envlope plots and the phase-space plots
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
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 (58.53 KiB) Viewed 3490 times
-
- 3.png (85.7 KiB) Viewed 3490 times
Re: Differece between the envlope plots and the phase-space plots
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
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
Re: Differece between the envlope plots and the phase-space plots
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
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
Re: Differece between the envlope plots and the phase-space plots
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.
Regards,
Didier
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.
Regards,
Didier