Home > atdemos > trackWithImpedance > testTrackBBR.m

testTrackBBR

PURPOSE ^

create a fast ring from ESRF lattice

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

create a fast ring from ESRF lattice
generate a Broad Band Resonator Impedance
add to fast ring

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %create a fast ring from ESRF lattice
0002 %generate a Broad Band Resonator Impedance
0003 %add to fast ring
0004 makeFastRingWithBBR;
0005 
0006 %Generate particle distribution and track
0007 %watch rms values
0008 NP=1e4;
0009 Nturns=1000;
0010 particles=atbeam(NP,atsigma(esrf));
0011 disp(std(particles'))
0012 for i=1:Nturns
0013   particles=ringpass(fastringBBR,particles,1);
0014   disp(std(particles'))
0015 end

Generated on Thu 24-Aug-2017 18:47:33 by m2html © 2005