Commit 4276af08 authored by Simone Liuzzo's avatar Simone Liuzzo

added proposed strengths in BestCor. WILL NOT WORK FOR EBS H steerers!

parent f9242f31
......@@ -16,19 +16,19 @@ switch svd_mode
case {'t','Tikhonov'}
dq = obj.qemsvd_Tikhonov(varargin{:});
case {'b','BestCor'}
[dq, ibest]= obj.BestCor(varargin{1},varargin{2});
[dq,ibest] = obj.BestCor(varargin{1},varargin{2});
switch obj.machine
case 'ebs-simu'
disp(['Best cor: ' ebs.steername(ibest)]);
disp(['Best cor: ' ebs.steername(ibest) ' ' num2str(dq(ibest)./obj.sh.calibration(ibest)) ' A']);
case 'esrf-sr'
disp(['Best cor: ' sr.steername(ibest)]);
disp(['Best cor: ' sr.steername(ibest) ' ' num2str(dq(ibest)./obj.sh.calibration(ibest)) ' A']);
case 'esrf-sy'
disp(['Best cor: ' sy.steername(ibest)]);
disp(['Best cor: ' sy.steername(ibest) ' ' num2str(dq(ibest)./obj.sh.calibration(ibest)) ' A']);
otherwise
disp(['Best cor: ' num2str(ibest)]);
disp(['Best cor: ' num2str(ibest) ' ' num2str(dq(ibest)./obj.sh.calibration(ibest)) ' A']);
end
otherwise
dq = obj.qemsvd(varargin{:});
end
......
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