Commit 86df1029 authored by ncarmignani's avatar ncarmignani

range changed for two optimization options and directory saved in ./ instead of MDT

parent dad013aa
......@@ -91,7 +91,7 @@ switch TLTorBLM
case 'TLT_nonorm'
%averagingtime=5;
objfun=@(xx)objTouLT_nonorm(xx,devopt,averagingtime);
noiseval=0.8; % noise evaluated on 50 measurements with this averaging time.
noiseval=0.001; % noise evaluated on 50 measurements with this averaging time.
end
%% define sub working folder
......@@ -99,7 +99,8 @@ nowlabel=datestr(now,'yymmdd_HHMMSS');
dfname =[devsave '_' nowlabel];
wdirname=fullfile([MACHFS '/MDT/' datestr(now,'YYYY') '/' datestr(now,'YYYY_mm_DD') '/SextupolesOptimizations']);
% wdirname=fullfile([MACHFS '/MDT/' datestr(now,'YYYY') '/' datestr(now,'YYYY_mm_DD') '/SextupolesOptimizations']);
wdirname=fullfile('./SextupolesOptimizations');
mkdir(wdirname);
cd(wdirname);
......
......@@ -58,7 +58,7 @@ switch typedevice
for is = sort(indsxt([2:6:end,5:6:end]))
magnames = [magnames,{[names{is} '/Strength'];[0.98 1.02]*K(is)}];
magnames = [magnames,{[names{is} '/Strength'];[-0.2 +0.2]+K(is)}];
end
cellnamerange=magnames;
......@@ -75,7 +75,7 @@ switch typedevice
for is = sort(indsxt([2,191]))
magnames = [magnames,{[names{is} '/Strength'];[0.98 1.02]*K(is)}];
magnames = [magnames,{[names{is} '/Strength'];[-0.2 +0.2]+K(is)}];
end
cellnamerange=magnames;
......
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