File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,13 @@ def __init__(self,
108108 sequence :list [Element | Line ],
109109 propagate :bool = False ,
110110 dp :float = 0.0 , * ,
111+ alignment :bool = True ,
112+ dx :float = 0.0 ,
113+ dy :float = 0.0 ,
114+ dz :float = 0.0 ,
115+ wx :float = 0.0 ,
116+ wy :float = 0.0 ,
117+ wz :float = 0.0 ,
111118 exact :bool = False ,
112119 output :bool = False ,
113120 matrix :bool = False ) -> None :
@@ -124,6 +131,20 @@ def __init__(self,
124131 flat to propagate flags to elements
125132 dp: float, default=0.0
126133 momentum deviation
134+ alignment: bool, default=True
135+ flag to use alignment errors
136+ dx: float, default=0.0
137+ dx alignment error
138+ dy: float, default=0.0
139+ dy alignment error
140+ dz: float, default=0.0
141+ dz alignment error
142+ wx: float, default=0.0
143+ wx alignment error
144+ wy: float, default=0.0
145+ wy alignment error
146+ wz: float, default=0.0
147+ wz alignment error
127148 exact: bool, default=False
128149 flag to include kinematic term
129150 output: bool, default=False
@@ -138,6 +159,13 @@ def __init__(self,
138159 """
139160 super ().__init__ (name = name ,
140161 dp = dp ,
162+ alignment = alignment ,
163+ dx = dx ,
164+ dy = dy ,
165+ dz = dz ,
166+ wx = wx ,
167+ wy = wy ,
168+ wz = wz ,
141169 exact = exact ,
142170 output = output ,
143171 matrix = matrix )
You can’t perform that action at this time.
0 commit comments