Commit c8f810bb authored by Simone Liuzzo's avatar Simone Liuzzo
Browse files

removed *Values

parent 87d07ed8
......@@ -25,24 +25,24 @@ obj.n_acquisitions=3;
sst=obj.sHst(index);
bpmafter=find(obj.sBPM>sst);
v_zero=obj.getHSteerersValues();
v_zero=obj.getHSteerers();
%measurements of trajectories with steerer index at +kick and -kick
v=v_zero;
v(index)=v(index)+obj.kick_rad;
obj.setHSteerersValues(v);
obj.setHSteerers(v);
pause(2)
[tra_p_Meas, err_tra_p_Meas]=obj.measuretrajectory;
v=v_zero;
v(index)=v(index)-obj.kick_rad;
obj.setHSteerersValues(v);
obj.setHSteerers(v);
pause(2)
[tra_n_Meas, err_tra_n_Meas]=obj.measuretrajectory;
obj.setHSteerersValues(v_zero);
obj.setHSteerers(v_zero);
pause(2)
plane='H';indplane=1;
......@@ -65,14 +65,14 @@ ErrorH=100*rms(dtra_Meas_H(indbpmafter)-dtra_Sim_H(indbpmafter))/rms(dtra_Sim_H(
sst=obj.sVst(index);
bpmafter=find(obj.sBPM>sst);
v_zero=obj.getVSteerersValues();
v_zero=obj.getVSteerers();
%measurements of trajectories with steerer index at 0, +kick and -kick
% tra_z_Meas=obj.measuretrajectory;
v=v_zero;
v(index)=v(index)+obj.kick_rad;
obj.setVSteerersValues(v);
obj.setVSteerers(v);
pause(2)
[tra_p_Meas, err_tra_p_Meas]=obj.measuretrajectory;
......@@ -80,11 +80,11 @@ pause(2)
v=v_zero;
v(index)=v(index)-obj.kick_rad;
obj.setVSteerersValues(v);
obj.setVSteerers(v);
pause(2)
[tra_n_Meas, err_tra_n_Meas]=obj.measuretrajectory;
obj.setVSteerersValues(v_zero);
obj.setVSteerers(v_zero);
pause(2)
plane='V';indplane=2;
......
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