get
Define functions to switch between the various phases.
Mainly used by CavitySettings.
CavitySettings
Compute smallest difference between two angles.
phi_1 (float)
float
phi_2 (float)
Compute relative entry phase from absolute.
phi_0_abs (float)
phi_rf (float)
phi_0_rel (float)
Convert the bunch phase to a rf phase.
phi_bunch (float | ndarray[tuple[Any, ...], dtype[float64]])
ndarray
tuple
Any
...
dtype
float64
rf_over_bunch_frequencies (float)
float | ndarray[tuple[Any, ...], dtype[float64]]
Convert the bunch phase to rf phase.
phi_rf (float | ndarray[tuple[Any, ...], dtype[float64]])
bunch_over_rf_frequencies (float)