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

gtDefFwdProjGvdm: exposed more information when having an error

parent b4f7af77
No related branches found
No related tags found
No related merge requests found
......@@ -147,9 +147,6 @@ function bl = gtDefFwdProjGvdm(grain, ref_sel, gv, fedpars, parameters, det_ind,
end
o.fprintf('Done in %g s\n', toc(t));
% Number of valid voxels
nv_v = sum(valid_voxels, 1);
o.fprintf(' * Computing max BBox size and feasibilities:\n')
psf_size = zeros(nbl, 2);
if (~isempty(psf))
......@@ -218,9 +215,11 @@ function bl = gtDefFwdProjGvdm(grain, ref_sel, gv, fedpars, parameters, det_ind,
disp('Blob size:')
disp(blob_uvw_size)
disp('Min projected U,V,W coordinates:')
disp(min(uvw_bl, [], 1))
fprintf('\t%g\t%g\t%g \t(rounded: %d %d %d )\n', ...
min(uvw_bl, [], 1), min(ucbl8, [], 1))
disp('Max projected U,V,W coordinates:')
disp(max(uvw_bl, [], 1))
fprintf('\t%g\t%g\t%g \t(rounded: %d %d %d )\n', ...
max(uvw_bl, [], 1), max(ucbl8, [], 1))
new_exc = GtFedExceptionFwdProj(mexc, det_ind, [0 0 0]);
throw(new_exc)
end
......
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