Commit 6fa62f7e authored by Simone Liuzzo's avatar Simone Liuzzo
Browse files

removed useless file load

parent 51eb82bf
......@@ -77,10 +77,10 @@ obj.kick = [...
% - 16mm kickers bump
obj.K3 = obj.kick(2,3);
obj.K4 = obj.kick(2,4);
obj.injoff = -10.0*1e-3;
obj.injoff = -6.0*1e-3;
latticefile = '/users/beamdyn/dev/commissioningtools/@RingControl/ESRFInj.mat'; % ring lattice
a = load(latticefile);
%latticefile = '/users/beamdyn/dev/commissioningtools/@RingControl/ESRFInj.mat'; % ring lattice
%a = load(latticefile);
mod = sr.model; % load lattice from operation/appdata/optics/settings/theory
obj.rmodel = mod.ring;
......@@ -88,6 +88,11 @@ obj.indBPM = mod.get(0,'bpm')';
obj.indHst = mod.get(0,'steerh')';
obj.indVst = mod.get(0,'steerv')';
obj.indQuad = mod.get(0,'qp')';
obj.rmodel = atsetfieldvalues(obj.rmodel,obj.indHst,'KickAngle',{1,1},0);
obj.rmodel = atsetfieldvalues(obj.rmodel,obj.indHst,'KickAngle',{1,2},0);
obj.rmodel = atsetfieldvalues(obj.rmodel,obj.indVst,'KickAngle',{1,1},0);
obj.rmodel = atsetfieldvalues(obj.rmodel,obj.indVst,'KickAngle',{1,2},0);
% obj.rmodel = a.ring;
% obj.indBPM=findcells(obj.rmodel,'Class','Monitor');
% obj.indHst=findcells(obj.rmodel,'KickAngle');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment