beam section (mandatory)
Here we define the main properties of the beam at the entrance of the linac.
Note that with TraceWin, most of these properties are defined within its own .ini file.
The units must be consistent with LightWin’s system of units, see also Units and conventions.
Entry |
Type |
Description |
Mandatory? |
Allowed values |
|---|---|---|---|---|
|
|
Energy of particle at entrance in:unit: |
✅ |
|
|
|
Rest energy of particle in:unit: |
✅ |
|
|
|
Beam bunch frequency in:unit: |
✅ |
|
|
|
Beam current in:unit: this key is not used. EnvelopeiD solvers do not model space-charge, and the current in TraceWin solver is controlled by the key. |
❌ |
|
|
|
Adimensioned charge of particle |
✅ |
|
|
|
Input:math: \(\mathrm{rad}\). Must be a list of lists of floats that can be transformed to a 6*6 matrix. |
✅ |
Format for the sigma entry:
sigma = [
[ 1e-6, -2e-7, 0e+0, 0e+0, 0e+0, 0e+0],
[-2e-7, 8e-7, 0e+0, 0e+0, 0e+0, 0e+0],
[ 0e+0, 0e+0, -2e-7, 8e-7, 0e+0, 0e+0],
[ 0e+0, 0e+0, -2e-7, 8e-7, 0e+0, 0e+0],
[ 0e+0, 0e+0, 0e+0, 0e+0, -2e-7, 8e-7],
[ 0e+0, 0e+0, 0e+0, 0e+0, -2e-7, 8e-7]
]