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

added display of foreseen strengths and COD

parent af6f4509
......@@ -594,6 +594,17 @@ while ~stopped
linkaxes([ax1 ax3],'x');
linkaxes([ax2 ax4],'x');
if printouttext
% display results
disp('Forseen change: ')
disp(['hor. : ' num2str(std2(ox(usebpm))*1e6,'%3.3f') ' -> '...
num2str(std2(RespH*(corh0(usecorH)-tothcor(usecorH))')*1e6,'%3.3f') ' um'])
disp(['ver. : ' num2str(std2(oy(usebpm))*1e6,'%3.3f') ' -> '...
num2str(std2(RespV*(corv0(usecorV)-totvcor(usecorV))')*1e6,'%3.3f') ' um'])
disp(['H cor mean: ' num2str(std2(corh0*1e6),'%3.3f') ' -> ' num2str(std2(tothcor*1e6),'%3.3f') ' murad']);
disp(['V cor mean: ' num2str(std2(corv0*1e6),'%3.3f') ' -> ' num2str(std2(totvcor*1e6),'%3.3f') ' murad']);
end
response='a';
while ~ismember(response, 'yn') % & ~ischar(response)
......@@ -880,7 +891,7 @@ corropt.corV = inputcor('apply vertical correction',corropt.corV);
corropt.corRF = inputcor('apply RF correction',corropt.corRF);
corropt.absolute = inputcor('Absolute (true) or Relative (false) correction',corropt.absolute);
if corropt.absolute
disp('absolute correction, no partial setting of correctors.')
disp('absolute correction, no partial setting of correctors, plese use a large number of eigenvalues (100/300) or Tikhonov parameter (5-10).')
end
corropt.meanzero = inputcor('keep correctors mean to zero',corropt.meanzero);
......
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