Commit 2ed346ac authored by Simone Liuzzo's avatar Simone Liuzzo

orbit reading is in m

parent 3b1e0261
...@@ -19,7 +19,8 @@ if nargin<2, decodef=@ebs.steerindex; end ...@@ -19,7 +19,8 @@ if nargin<2, decodef=@ebs.steerindex; end
[sname,salgo,~]=celldeal(regexp(s2,',','split')); [sname,salgo,~]=celldeal(regexp(s2,',','split'));
gradient=str2double(s1); gradient=str2double(s1);
idx=decodef(sname); idx=decodef(sname);
resp=1.0E-3*str2double(strs'); % convert mm to m %resp=1.0E-3*str2double(strs'); % convert mm to m
resp=str2double(strs'); % response already in m
algo=str2double(salgo); algo=str2double(salgo);
if isnan(algo), algo=1; end if isnan(algo), algo=1; end
end 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