DataClasses¶
A collection of classes (mostly named tuples) that are useful for holding data related to accelerator elements and details of the simulated beam.
-
class
Pynac.DataClasses.CentreOfGravity¶ Bases:
tuple6D centre of gravity of the simulated bunch. Each of the following is of type elements.Parameter.
-
KE¶ Kinetic energy parameter
-
TOF¶ Time-of-flight parameter
-
x¶ Horizontal location parameter
-
xp¶ Horizontal momentum parameter
-
y¶ Vertical location parameter
-
yp¶ Vertical momentum parameter
-
-
class
Pynac.DataClasses.Param¶ Bases:
tupleA representation of a parameter as a value associated with a unit.
-
unit¶ The unit used for this parameter
-
val¶ The numerical value of the parameter
-
-
class
Pynac.DataClasses.SingleDimPS¶ Bases:
tuplePhase space parameters of the simulated bunch in a single dimension.
-
R12¶ R(1,2) of the bunch
-
mom¶ Momentum spread of the bunch
-
nonNormEmit¶ Non-normalised emittance of the bunch
-
normEmit¶ Normalised emittance of the bunch
-
pos¶ Position spread of the bunch
-