Units and conventions
Todo
Consistency between font size of normal text and math text. Not aesthetic when I have text and units side to side.
Todo
General units: MeV etc
Beam parameters
The beam parameters are defined in beam_parameters and stored in the BeamParameters object.
We use the same units and conventions as TraceWin.
RMS emittances
In LightWin |
In TraceWin |
Units |
Normalized? |
|---|---|---|---|
|
\(\epsilon_{xx'}\) |
\(\mathrm{\pi.mm.mrad}\) |
✅ |
|
\(\epsilon_{yy'}\) |
\(\mathrm{\pi.mm.mrad}\) |
✅ |
|
\(\epsilon_{zn}\) |
\(\mathrm{\pi.mm.mrad}\) |
✅ |
|
\(\epsilon_{z\delta}\) |
\(\mathrm{\pi.mm.\%}\) |
✅ |
|
\(\epsilon_{\phi W}\) |
\(\mathrm{\pi.deg.MeV}\) |
✅ |
Warning
In TraceWin’s output files partran.out and tracewin.out, eps_zdelta is expressed in \(\mathrm{\pi.mm.mrad}\), not in \(\mathrm{\pi.mm.\%}\)!
The conversion is: \(1\pi\mathrm{.mm.mrad} = 10\pi\mathrm{.mm.\%}\)
Twiss
In LightWin |
In TraceWin |
Units |
|---|---|---|
|
\(\alpha_{zz'}\) |
\(\mathrm{1}\) |
|
\(\alpha_{z\delta}\) |
\(\mathrm{1}\) |
|
\(\alpha_{\phi W}\) |
\(\mathrm{1}\) |
|
\(\beta_{zz'}\) |
\(\mathrm{mm/(\pi.mrad)}\) |
|
\(\beta_{z\delta}\) |
\(\mathrm{mm/(\pi.\%)}\) |
|
\(\beta_{\phi W}\) |
\(\mathrm{deg/(\pi.MeV)}\) |
|
\(\gamma_{zz'}\) |
\(\mathrm{mrad/(\pi.mm)}\) |
|
\(\gamma_{z\delta}\) |
\(\mathrm{\%/(\pi.mm)}\) |
|
\(\gamma_{\phi W}\) |
\(\mathrm{MeV/(\pi.deg)}\) |
Note that beta_kin, gamma_kin are the Lorentz factors.
Envelopes
In LightWin |
In TraceWin |
Units |
|---|---|---|
|
\(\mathrm{mm}\) |
|
|
\(\mathrm{mrad}\) |
|
|
\(\mathrm{mm}\) |
|
|
\(\mathrm{mrad}\) |
|
|
\(\mathrm{mm}\) |
|
|
\(\mathrm{mrad}\) |
|
|
\(\mathrm{mm}\) |
|
|
\(\mathrm{\%}\) |
|
|
\(\mathrm{deg}\) |
|
|
\(\mathrm{MeV}\) |
Note
Envelopes are at \(1\sigma\) in LightWin, while they are plotted at \(6\sigma\) by default in TraceWin.
Note
Envelopes are calculated with un-normalized emittances in the \([z-\delta]\) and \([z-z']\) planes, but they are calculated with normalized emittance in the \([\phi-W]\) plane.
\(\sigma\) beam matrix
We save this matrix in SI units, i.e. in \(\mathrm{m}\) and \(\mathrm{rad}\).
When given in the .toml configuration file, it must also be in SI units.