bunch length due to the potential well effect the output is the zerocurrent bunch length x bunch lengthening BL = atBunchLength(ring,Ib,Zn) Ib is the bunch current [A] (it may be a vector for multiple values) Zn is the longitudinal broadband impedance [Ohms] ring is the at ring without radiation BL is the bunch length in metres see also: BunchLength
0001 function BL = atBunchLength (ring,Ib,Zn) 0002 % bunch length due to the potential well effect 0003 % the output is the zerocurrent bunch length x bunch lengthening 0004 % 0005 % BL = atBunchLength(ring,Ib,Zn) 0006 % 0007 % Ib is the bunch current [A] (it may be a vector for multiple values) 0008 % Zn is the longitudinal broadband impedance [Ohms] 0009 % ring is the at ring without radiation 0010 % BL is the bunch length in metres 0011 % 0012 % see also: BunchLength 0013 0014 rp=ringpara(ring); 0015 [E0,~,Vrf,h,U0]=atenergy(ring); 0016 alpha=rp.alphac; 0017 sigdelta=rp.sigma_E; 0018 circ=findspos(ring,length(ring)+1); 0019 0020 BL = BunchLength(Ib,Zn,Vrf,U0,E0,h,alpha,sigdelta,circ); 0021 0022 end