Commit 46d7d045 authored by Simone Liuzzo's avatar Simone Liuzzo

errmodel not ok. commented

parent a98e65a4
......@@ -66,10 +66,10 @@ save('betamodel.mat','betamodel');
% AT lattice for simulator with errors and corrections
disp('errors and correction lattice for simulator (provide errtab and cortab or zeros will be set)')
errmodel=atseterrortable(r,errtab);
errmodel=atseterrortable(r,errtab,'verbose',true);
errmodel=atsetcorrectiontable(errmodel,cortab);
save('errmodel.mat','errmodel','cortab','errtab');
%save('errmodel.mat','errmodel','cortab','errtab');
warning('errmodel lattice not OK');
% save image of lattice optics
f=figure;
......
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