Analysis guide and results
Most analysis can either be driven with EDM via a shell/python script or directly from python. To start python on
=cbpm-lxs.atf-local.=
pylab = "ipython2.6 -pylab"
cbpm-lxs> pylab
pylab>
BPM tuning
pylab> import Calculations
pylab> wa = Calculations.Waveform()
Mover calibration
pylab> import Calculations
pylab> mc = Calculations.MoverCalibration("FILENAME")
pylab> mc.controlPlot()
Bump calibration
Full orbit calculation/resolution
pylab> import Calculations
pylab> o = Calculations.Orbit("FILENAME")
pylab> o.svd(20,-1,[],True) BPM 20, use all others (-1), removed bpms [], make a plot (True/False)
pylab> o.summary()
File types
Utility functions
To open data of any type
pylab> import Utility
pylab> d = Utility.openData("FILENAME")
pylab> d.array()
Archiver plots
import Analysis.Archive
s = Analysis.Archive.Stability(indexfile,bpmPolName)
s = Analysis.Archive.Stability('/cbpm/data/archiver/bari_20100908_153251','QM16FFx')
- Plot of a single variable
import Analysis.Archive
v = Analysis.Archive.VariablePlot(indexfile,bpmPolName,variable)
v = Analysis.Archive.VariablePlot('/cbpm/data/archiver/bari_20100908_153251','QM16FFx','ampnoise')
- Complete summary of bpm electronics stability
import Analysis.Archive
nalysis.Archive.bpmSystemStability(mapfile,indexfile)
Analysis.Archive.bpmSystemStability('bpm_sis.map','/cbpm/data/archiver/bari_20100908_153251')