Computer class of the beam-based diagnostics course at the USPAS 2006 (ASU)


The purpose of the computer class of the beam-based diagnostics course was to demonstrate some of the concepts introduced in the lectures. The class made use of Matlab, which is a program package mostly for numerical computation that is widely used at accelerator laboratories. The accelerator code used was the Accelerator Toolbox (AT) (mostly written by Andrei Terebilo from SLAC/SSRL) with the so called accelerator control 'middle layer' (mostly written by Greg Portmann from LBNL/ALS). For frequency analysis and phase advance calculations, some Matlab functions written at the ALS were used. To analyze the orbit response matrices, the Matlab version of LOCO (by James Safranek and Greg Portman) was used.

You can download the matlab middle layer software, including AT and LOCO, as well as the lattice and control system configuration files of many light sources at http://als.lbl.gov/als_physics/portmann/MiddleLayer/Release/. You also need two small functions for the phase advance data analysis performed in one of the computer classes: findfreq.m for the interpolating FFT with sine window, and calcphase.m to calculate the phase using convolutions of the data with sine and cosine functions.

Power Point File including all computer examples.


Last update: 2006-01-22,
CSteier@lbl.gov