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)
ndarray
rf_over_bunch_frequencies (float)
float | ndarray
Convert the bunch phase to rf phase.
phi_rf (float | ndarray)
bunch_over_rf_frequencies (float)