Skip to content
Snippets Groups Projects
Commit 5483a043 authored by Laura Nervo's avatar Laura Nervo Committed by Nicola Vigano
Browse files

gtINDEXMatchGrains : returns 'pippo' cell structure to set as parameters.index.forcemerge variable

                     to run gtINDEXTER(phaseid, flag, ...., forcemerge = true)

Signed-off-by: default avatarLaura Nervo <laura.nervo@esrf.fr>

git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@636 4c865b51-4357-4376-afb4-474e03ccb993
parent 9d36f015
No related branches found
No related tags found
No related merge requests found
......@@ -427,8 +427,22 @@ for ii = 1:nof_grains1
end
% removing NaN
pippo = [find(~isnan(pippo))' pippo(~isnan(pippo))'];
% sorting and unique
for iter = 1 : size(pippo,1)
pippo2(iter,:) = sort(pippo(iter,:));
end
pippo = unique(pippo2,'rows');
for i = 1 : size(pippo,1)
pippo_cc{i} = pippo(i,:);
end
pippo = pippo_cc;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Evalute grain match
......
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