Commit a83065ae authored by Simone Liuzzo's avatar Simone Liuzzo

help in @RingControl.MeasureOrbitResponseMatrix.m

parent 3455c274
......@@ -174,8 +174,8 @@ end
ex(ip) = ph.Emittance_h.read;
ey(ip) = ph.Emittance_v.read;
catch errpin
warning(['impossible to read device pinhole: ' pinholes_list{ip}])
disp(errpin)
disp(['impossible to read device pinhole: ' pinholes_list{ip}])
%disp(errpin)
end
end
......@@ -287,7 +287,7 @@ NBPM = length(o0(1,:));
catch
real_variation = variation;
end
filenametotxt;
% filenametotxt;
return
end
......@@ -405,14 +405,14 @@ NBPM = length(o0(1,:));
driftcontrol; % this function returns an ERROR if orbit changed befor and after measurement
end
% get pinholes sizes variations
[ex,ey]=readpinholes(false); %#ok<ASGLU>
% save file also if disabled during measurement (all zeros are stored)
%matlab
save(fullfile(workingdirectory,filename),'response','variation','real_variation','mode','ex','ey','ex0','ey0');
% text
filenametotxt;
% get pinholes sizes variations
[ex,ey]=readpinholes(false); %#ok<ASGLU>
% save file also if disabled during measurement (all zeros are stored)
%matlab
save(fullfile(workingdirectory,filename),'response','variation','real_variation','mode','ex','ey','ex0','ey0');
% text
filenametotxt;
function filenametotxt
%text (same file names and format of respmat.py
......
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