ocelot.utils.wake_pws
¶
Planar wakefield structure S.Tomin, 11.2018
added function which generates wake tables S.Tomin and I.Zagorodnov, 11.2019
Module Contents¶
Functions¶
|
Function creates two wake tables for horizontal and vertical corrugated plates |
|
Function to calculate transverse kick by corrugated structure [SLAC-PUB-16881] |
-
ocelot.utils.wake_pws.
wake_tables
(b=500 * 1e-06, a=0.01, width=0.02, t=0.25 * 0.001, p=0.5 * 0.001, length=1, sigma=3e-05, filename=None)¶ Function creates two wake tables for horizontal and vertical corrugated plates
- Parameters
b – distance from the plate in [m]
a – half gap between plates in [m]
width – width of the corrugated structure in [m]
t – longitudinal gap in [m]
p – period of corrugation in [m]
length – length of the corrugated structure in [m]
sigma – characteristic longitudinal beam size in [m]]
filename – save to files if filename is not None
- Returns
hor_wake_table, vert_wake_table
-
ocelot.utils.wake_pws.
wake_kick
(p_array, b=500 * 1e-06, t=0.25 * 0.001, p=0.5 * 0.001)¶ Function to calculate transverse kick by corrugated structure [SLAC-PUB-16881]
- Parameters
p_array – ParticleArray
b – distance to the dechirper wall
t – longitudinal gap
p – period
- Returns
(wake, current) - wake[:, 0] - s in [m], wake[:, 1] - kick in [V] - current[:, 0] - s in [m], current[:, 1] - current in [A]
-
ocelot.utils.wake_pws.
data_dir
= /Users/tomins/ownCloud/DESY/repository/ocelot/projects/dechirper/dataxxl/ocelot¶