at.collective.haissinski#
Classes
|
Class to find the longitudinal distribution in the presence of a short range wakefield. |
- class Haissinski(wake_object, ring, m=12, kmax=1, current=0.0001, numIters=10, eps=1e-10)[source]#
Bases:
object
Class to find the longitudinal distribution in the presence of a short range wakefield.
- Parameters:
- Keyword Arguments:
This class is a direct implementation of the following paper: “Numerical solution of the Haïssinski equation for the equilibrium state of a stored electron beam”, R. Warnock, K.Bane, Phys. Rev. Acc. and Beams 21, 124401 (2018)
The reader is referred to this paper for a description of the methods. The equation number of key formula are written next to the relevant function.
The functions solve or solve_steps can be used after initialisation An example usage can be found in:
at/pyat/examples/Collective/LongDistribution.py
- Future developments of this class:
Adding LR wake or harmonic cavity as done at SOLEIL. Needs to be added WITH this class which is just for short range wake.
- compute_Smat()[source]#
The sampling of the integrated wake potential S is only made at certain places. So all possibilities are loaded into a matrix for speed.
- initial_phi()[source]#
Simply a gaussian but using the normalised units. Page 5 top right, in the text.