findorbit4 with bpm errors also alignment errors (T1,T2) are considered here and the BPM reading is modified accordingly. see also findorbit4 ApplyBPMErr
0001 function orbit = findorbit4Err(RING, D, indbpm,varargin) 0002 % findorbit4 with bpm errors 0003 % 0004 % also alignment errors (T1,T2) are considered here and the BPM reading is 0005 % modified accordingly. 0006 % 0007 %see also findorbit4 ApplyBPMErr 0008 0009 orbit = findorbit4(RING, D,indbpm, varargin{:}); 0010 0011 [rel,tel,trand] = bpm_matrices(RING(indbpm)); 0012 bpmreading = bpm_process(orbit([1,3],:),rel,tel,trand); 0013 orbit(1,:)=bpmreading(1,:); 0014 orbit(3,:)=bpmreading(2,:); 0015 0016 0017 return