delta_max_rf = RFacc(Vrf,U0,E0,h,alpha) This function computes the RF acceptance Vrf is the RF voltage in V U0 is the energy loss per turn in eV E0 is the energy of the beam in eV h is the harmonic number alpha is the momentum compaction factor see also: atRFacc
0001 function delta_max_rf = RFacc(Vrf,U0,E0,h,alpha) 0002 % 0003 % delta_max_rf = RFacc(Vrf,U0,E0,h,alpha) 0004 % 0005 % This function computes the RF acceptance 0006 % Vrf is the RF voltage in V 0007 % U0 is the energy loss per turn in eV 0008 % E0 is the energy of the beam in eV 0009 % h is the harmonic number 0010 % alpha is the momentum compaction factor 0011 % 0012 % see also: atRFacc 0013 0014 delta_max_rf = sqrt(2*U0/pi./alpha/h/E0)*sqrt( sqrt((Vrf/U0).^2-1) - acos(U0./Vrf));