Skip to content
Snippets Groups Projects
Commit e23566bb authored by Nicola Vigano's avatar Nicola Vigano
Browse files

Omega step is now coherent with the number of images

parent 26510d08
No related branches found
No related tags found
No related merge requests found
......@@ -22,11 +22,11 @@ function omega_step = get_step(parameters, det_ind)
omega_step = parameters.detgeo(det_ind).omstep;
else
if (numel(parameters.acq) > 1 || det_ind == 1)
omega_step = 180 / parameters.acq(det_ind).nproj;
omega_step = 360 / gtAcqTotNumberOfImages(parameters, det_ind);
else
% This is the last resort! It should become more verbose in the
% future, in case it happens!
omega_step = 180 / parameters.acq(1).nproj;
omega_step = 360 / gtAcqTotNumberOfImages(parameters, 1);
end
end
end
\ No newline at end of file
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