Skip to content
Snippets Groups Projects
Commit 2c069dfe authored by Wolfgang Ludwig's avatar Wolfgang Ludwig
Browse files

minor fix in case one wants to enter a drift vector manually

parent b71e88cb
No related branches found
No related tags found
No related merge requests found
......@@ -250,8 +250,13 @@ disp(' ')
% this is the time to analyse a calibration or quali scan to determine
% sample drifts
ydrift=zeros(1, totproj); % default values for drift
zdrift=zeros(1, totproj);
if isempty(parameters.prep.udrift)
ydrift=zeros(1, totproj); % default values for drift
zdrift=zeros(1, totproj);
else
ydrift=parameters.prep.udrift;
zdrift=parameters.prep.vdrift;
end
check = inputwdefault('Do you want to perform sample drift analysis for this measurement? [y/n]', 'n');
if strcmpi(check,'y')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment