-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about electron beam parameters #580
Comments
Hi @zhangli28, Yes, The reference particle coordinates are written out in We also provide diagnostics directly for the Twiss parameters and other beam characteristics: See Reduced Beam Characteristics. :) |
Hi @n01r , thank you so much for prompt reply. I will check the links you provided and see if I can understand what I am looking for. Thank you. |
Yea, no worries, sounds good. :) |
Hi @n01r , I have some question about preparing the input electron beam parameters for impactX chicane file. I tried to make 2 slides for putting my question. Please, can you see the attached file and say something what I should do. |
Hi @n01r , do you have any suggestion how to give input beam parameters ? |
Hi @zhangli28, thank you for your slides! If I interpret them correctly then there may be a misunderstanding with the It is unfortunate that in beam physics In the theory section here we make that distinction in the text. Perhaps we could put a bigger note box there. We have two methods for beam distribution input from analytical parameters at the moment:
|
Hi @n01r , thanks for clearing the confusion. I strongly support or recommend to use the beta_twiss, gamma_twiss for Twiss parameters and normal beta, gamma for relativistic factors. This way is self consistent. I also strongly request to add (in the documentation) an example input file based on Courant-Snyder / Twiss parameters. This will really help the user. The Courant-Snyder / Twiss parameters approach looks straight forward, but if you have any example file based on Courant-Snyder / Twiss parameters, can you give me. Thank you. |
We still need to document the |
Hi @n01r , wow ! thank you for so kind and helpful. Thank you so many times. |
Hi @n01r , one final question "T" still not clear to me, if you help me to understand what alphaT, betaT and emittT are ? And how to find there values. # is there any formula to calculate these values
beam.alphaT = 0.0
beam.betaT = 0.5
beam.emittT = 2e-06 |
In ImpactX, the parameter T denotes the longitudinal coordinate of a particle within the beam. For beam output at a monitor location s, T represents the difference in the arrival-time between the particle and the arrival-time of the reference particle. It is always normalized by (multiplied by) the speed of light c, so that it has units of meters. The momentum conjugate to T is denoted Pt, and it represents the beam energy (with a minus sign, which is required to make these coordinates canonical). It is measured relative to the reference particle, and normalized by c*p, where p here is the magnitude of the reference momentum. For a beam at high energy (in the ultrarelativistic limit), (T,Pt) coincides with (-Z,-delta), where delta is the relative energy deviation. alphaT, betaT, and emittT are related to (T,Pt) in the same way that alphaX, betaX, and emittX are related to (X,Px). For example, sigma_T = sqrt(betaT*emittT), etc. |
Dear @n01r @cemitch99 @ax3l thank you so much. I am also looking forward to the extension of input deck as mentioned above by @ax3l . |
Hi @n01r ,
I have a question about retrieving the electron beam parameter information.
In the plot_chicane.py example, does the following give electron beam transverse size and emittance evolution with propagation distance ?
here, x & y denotes the transverse direction (right ?)
but what is "t" for ?
Is it possible to get the same way twiss parameters of the electron beam ?
The text was updated successfully, but these errors were encountered: