plotfunctions#
Functions
function [H,Hv]=CurlyH(RING,dp,ind) |
|
function [H,Hv]=CurlyHlindata(lindata) |
|
Plot H and V beam size |
|
Plots H and V 4x4 closed orbit |
|
Plot PolynomB |
|
Plot H/rho³ at every dipole |
|
PlotBn coefficient with normalization |
|
Plots Bn for sextupole and octupole magnets |
|
Plots beam sizes and divergences |
|
Plot beam envelope |
|
Plots x and y aperture. |
|
Plot B and H |
|
Plot RApertures EApertures |
|
plotWdispP Plot W functions |
|
function plot_betabeat(THERING_ref,THERING_mod) |
|
Plots particle trajectories |
|
function [s,plotdata]=plotbetadisp(ring,dpp,plotfun,varargin) |
|
Plot beta, dispersion and H |
|
Plot sqrt(beta), dispersion and H |
|
Plots Touschek lifetime contribution |
|
plotdata=plxi(lindata,ring,dpp) |
- CurlyH()#
- function [H,Hv]=CurlyH(RING,dp,ind)computes Curly H (dispersion invariant)RING :at latticedp : energy deviationind : reference positionsoutputH : horizontal dispersion invariantHv : vertical dispersion invariant
- CurlyHlindata()#
- function [H,Hv]=CurlyHlindata(lindata)computes Curly H (dispersion invariant)lindata is the first ouptut of [lindata,~,~]=atlinopt(…)(include at least 2 ouptut arguments for dispersion computation)outputH : horizontal dispersion invariantHv : vertical dispersion invariant
- plBeamSize()#
- Plot H and V beam sizeUSAGE:>> atbaseplot(ring,@**plBeamSize**);>> atplot(ring,@**plBeamSize**); (obsolete)See also
atbaseplot()
- plClosedOrbit()#
- Plots H and V 4x4 closed orbitHelper function for atplot: plot- H and V closed orbits on left axis- Dispersion on right axisEXAMPLEs>> atbaseplot(ring,@**plClosedOrbit**,{‘dp’,0.01});>> atplot(ring,@**plClosedOrbit**,’dp’,0.01); (obsolete)See also
atplot()
,atbaseplot()
- plCorrectorStrength()#
- Plot PolynomBHelper function for atplot: plot- PolynomB(1), PolynomA(1), PolynomA(2), PolynomA(2) on the left axisEXAMPLEs>> atbaseplot(ring,’synopt’,false,@**plCorrectorStrength**);>> atplot(ring,@**plCorrectorStrength**,’synopt’,false); (obsolete)See also
atplot()
,atbaseplot()
- plEmitContrib()#
- Plot H/rho³ at every dipoleUSAGE:>> atbaseplot(ring,@**plEmitContrib**);>> atplot(ring,@**plEmitContrib**); (obsolete)See also
atbaseplot()
- plPolynomBComp()#
- PlotBn coefficient with normalizationplPolynomBComp default plotting function for ATPLOTPlots polynomB for ring and ring1
- plPolynomBSxtOct()#
- Plots Bn for sextupole and octupole magnetsDEFAULTPLOT Default plotting function for ATPLOTPlots polynomB for ring and ring1
- plSigmaSigmap()#
- Plots beam sizes and divergencesPlots sigmax and sigmay on left axis andsigmax’ and sigmay’ on right axis
- plenvelope()#
- Plot beam envelopeHelper function for atplot: plot- H and V beam envelopes on left axisUSAGE:>> atbaseplot(ring,@**plenvelope**);>> atplot(ring,@**plenvelope**); (obsolete)See also
atbaseplot()
- plotAperture()#
- Plots x and y aperture.Helper function for atplot: plot the physical apertureUSAGE:>> atbaseplot(ring,@**plotAperture**);>> atplot(ring,@**plotAperture**); (obsolete)See also
atplot()
,atbaseplot()
- plotB0curlyh()#
- Plot B and HUSAGE:>> atbaseplot(ring,@**plotB0curlyh**);>> atplot(ring,@**plotB0curlyh**); (obsolete)See also
atbaseplot()
- plotERAperture()#
- Plot RApertures EAperturesHelper function for atplot:plot the Elliptic and Rectangular physical aperturesUSAGE:>> atbaseplot(ring,@**plotERAperture**);>> atplot(ring,@**plotERAperture**); (obsolete)See also
atplot()
,atbaseplot()
- plotRDT()#
- plotRDT plots the absolute value of the hamiltonian termsplotRDT must be used with atplot:atplot(ring,@**plotRDT**,’geometric1’) plots the first order geometric termsatplot(ring,@**plotRDT**,’chromatic’) plots the chromatic termsatplot(ring,@**plotRDT**,’geometric2’) plots the second order geometric termsatplot(ring,@**plotRDT**,’coupling’) plots the coupling termssee also: computeRDT, atplot
- plotWdispP()#
- plotWdispP Plot W functionsHelper function for atplot: plot- W functions (derivatives of beta-functions versus momentum) on left axis- derivative of dispersion on right axis
- plot_betabeat()#
- function plot_betabeat(THERING_ref,THERING_mod)returns plot of beta beat of THERING_mod respect to THERING_ref
- plot_trajectory()#
- Plots particle trajectoriesHelper function for atplot: plot- H and V trajectories on the left axisUSAGE:>> atbaseplot(ring,@**plot_trajectory**,{INPUT_COORDS);>> atplot(ring,@**plot_trajectory**,INPUT_COORDS); (obsolete)See also
atbaseplot()
- plotbetadisp()#
- function [s,plotdata]=plotbetadisp(ring,dpp,plotfun,varargin)plotbetadisp Plot beta functions and dispersionHelper function for tplot:- beta functions on the left axis- diespersion on the right axisUSAGE:>> atbaseplot(ring,@**plotbetadisp**);>> atplot(ring,@**plotbetadisp**); (obsolete)See also
atplot()
,atbaseplot()
- plotbetadispcurlyh()#
- Plot beta, dispersion and HUSAGE:>> atbaseplot(ring,@**plotbetadispcurlyh**);>> atplot(ring,@**plotbetadispcurlyh**); (obsolete)See also
atbaseplot()
- plotsqrtbetadispcurlyh()#
- Plot sqrt(beta), dispersion and HUSAGE:>> atbaseplot(ring,@**plotsqrtbetadispcurlyh**);>> atplot(ring,@**plotsqrtbetadispcurlyh**); (obsolete)See also
atbaseplot()
- pltouschek(lindata, ring, dpp)#
- Plots Touschek lifetime contributionplotdata=pltouschek(lindata,ring,dpp)plots curly H function and also 1/(sigx sigy) to understand local scattering rate
- plxi()#
- plotdata=plxi(lindata,ring,dpp)xi function in Touschek formula gives trans. velocity in beam frame