Home > pubtools > LatticeTuningFunctions > errors > findorbit6Err.m

findorbit6Err

PURPOSE ^

findorbit6 with bpm reading errors

SYNOPSIS ^

function orbit = findorbit6Err(RING, indbpm,varargin)

DESCRIPTION ^

 findorbit6 with bpm reading errors

see also findorbit6 bpm_process bpm_matrices

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function orbit = findorbit6Err(RING, indbpm,varargin)
0002 % findorbit6 with bpm reading errors
0003 %
0004 %see also findorbit6 bpm_process bpm_matrices
0005 
0006 orbit = findorbit6(RING, indbpm, varargin{:});
0007 
0008 % BPM errors used only if class is Monitor
0009 %useind=ismember(indbpm,find(atgetcells(ring,'Class','Monitor')));
0010 useind=1:length(indbpm);
0011 
0012 [rel,tel,trand] = bpm_matrices(RING(indbpm(useind)));
0013 bpmreading = bpm_process(orbit([1,3],:),rel,tel,trand);
0014 orbit(1,:)=bpmreading(1,:);
0015 orbit(3,:)=bpmreading(2,:);
0016 
0017 return

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