Commit 5cc5ec6e authored by Simone Liuzzo's avatar Simone Liuzzo

if a full rm is measured, the corresponding csv files are generated and stored...

if a full rm is measured, the corresponding csv files are generated and stored in the theory folder for use by the svd device servers
parent 5f996a8d
......@@ -283,10 +283,16 @@ if get(handles.DCRMcheckbox,'Value') % DC/AC DC measurement
steerlist=allsteer(qemres.hlist);
curdir = pwd;
cd(qemres.datadir);
rc.MeasureOrbitResponseMatrix('Hsteerer',steerlist,'Vsteerer',qemres.vlist);
rc.MeasureOrbitResponseMatrix('Hsteerer',steerlist,'Vsteerer',qemres.vlist); % if full measurement RM CSV files will be stored.
% if full RM only!
%[hr,vr]=ebs.autocor_model('./optics','exp','.');
% store measured RM in theory folder.
if get(handles.FullRMcheckbox,'Value')
tnow = now();
meas_full_rm_path=fullfile(qemres.opticsname(1:end-1),'MeasuredfullRM',datestr(tnow,'yyyy'),datestr(tnow,'yyyy_mm_dd'));
mkdir(meas_full_rm_path); % create directory to save to
copyfile('h_resp_measured.csv',meas_full_rm_path)
copyfile('v_resp_measured.csv',meas_full_rm_path)
end
cd(curdir);
else % AC rm measurement
......
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