Skip to content
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

Add units to Theory documentation. #403

Merged
merged 6 commits into from
Jul 28, 2023
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/source/theory/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,23 @@ One can set the number of slice steps through each lattice element for the appli
A 2D space-charge solver for purely transversal effects will be added in the future.


Coordinates and Units
----------------------
ax3l marked this conversation as resolved.
Show resolved Hide resolved

Each particle in the beam is described at fixed :math:`s` by a set of 6 canonical phase space variables (x [m], px, y [m], py, t [m], pt). Coordinates x and y denote the horizontal and
vertical displacement from the reference particle, respectively, and describe motion in the plane transverse to the velocity of the reference particle. The longitudinal coordinate t
denotes the difference between the arrival time of the particle and the arrival time of the reference particle, multiplied by the speed of light :math:`c`.

The momenta conjugate to x, y, and t are denoted px, py, and pt, respectively. These variables are normalized by the magnitude of the momentum of the reference particle, and are therefore dimensionless.
In a region of zero vector potential, for example, :math:`p_x = \Delta(\beta_x\gamma)/(\beta_0\gamma_0)`, where :math:`\beta_0` and :math:`\gamma_0` denote the relativistic
factors associated with the reference velocity. In a region of zero scalar potential, pt denotes the deviation from the reference energy normalized by the design momentum
times the speed of light, so that :math:`p_t = \Delta(\gamma)/(\beta_0\gamma_0)`.

Unlike particles within the beam, the reference particle is described by a set of 8 phase space variables (x [m], px, y [m], py, z [m], pz, t [m], pt) that are specified
in a global laboratory coordinate system (x,y,z). The momenta of the reference particle are normalized by :math:`mc`, so that :math:`\p_x=\beta_x\gamma`, etc. A parameteric plot of
the reference trajectory variables (x,z) allows the user to view the global geometry of the accelerator structure (footprint).


Assumptions
-----------

Expand Down
Loading