Home > atplot > plotfunctions > plxi.m

plxi

PURPOSE ^

plotdata=plxi(lindata,ring,dpp)

SYNOPSIS ^

function plotdata=plxi(lindata,ring,dpp) %#ok

DESCRIPTION ^

plotdata=plxi(lindata,ring,dpp)
xi function in Touschek formula gives trans. velocity in beam frame

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function plotdata=plxi(lindata,ring,dpp) %#ok<INUSD>
0002 %plotdata=plxi(lindata,ring,dpp)
0003 %xi function in Touschek formula gives trans. velocity in beam frame
0004 beta=cat(1,lindata.beta);
0005 alpha=cat(1,lindata.alpha);
0006 betax=beta(:,1);
0007 betaz=beta(:,2);
0008 
0009 delta=.03;
0010 
0011 gamma=1.1820e+04;
0012 epsx = 4e-9;
0013 
0014 xi=delta^2/(gamma^2*epsx)*betax;
0015 
0016 plotdata(1).values=xi;
0017 plotdata(1).labels={'xi'};
0018 plotdata(1).axislabel='xi';
0019 
0020 
0021 
0022 plotdata(2).values=1./betax./betaz;
0023 plotdata(2).labels={'1/(betax*betay)'};
0024 plotdata(2).axislabel={'1/m^2'};
0025 
0026 %plotdata(2).values=1./sigx./sigy;
0027 %plotdata(2).labels={'1/(sigmax*sigmay)'};
0028 %plotdata(2).axislabel={'1/m^2'};
0029 
0030 end

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