Skip to content
Snippets Groups Projects
Commit dbd7f46b authored by preischig's avatar preischig
Browse files

gtFitFwdSimGrains: bug fix for thetatype format


Signed-off-by: default avatarpreischig <preischig@gmail.com>
parent 4bcc2029
No related branches found
No related tags found
No related merge requests found
......@@ -156,8 +156,8 @@ for ii = 1:length(grain)
grain{ii}.fsim.plref = [plref, plref, plref, plref];
grain{ii}.fsim.refind = [refind, refind, refind, refind];
grain{ii}.fsim.hklspind = grain{ii}.fsim.refind;
grain{ii}.fsim.thetatype = [cryst.thetatypesp', cryst.thetatypesp', ...
cryst.thetatypesp', cryst.thetatypesp'];
thetatype = cryst.thetatypesp(:)';
grain{ii}.fsim.thetatype = [thetatype, thetatype, thetatype, thetatype];
grain{ii}.fsim.hklind = grain{ii}.fsim.thetatype;
else
......@@ -276,8 +276,8 @@ for ii = 1:length(grain)
grain{ii}.fsim.plref = [plref, plref, plref, plref];
grain{ii}.fsim.refind = [refind, refind, refind, refind];
grain{ii}.fsim.hklspind = grain{ii}.fsim.refind;
grain{ii}.fsim.thetatype = [cryst.thetatypesp', cryst.thetatypesp', ...
cryst.thetatypesp', cryst.thetatypesp'];
thetatype = cryst.thetatypesp(:)';
grain{ii}.fsim.thetatype = [thetatype, thetatype, thetatype, thetatype];
grain{ii}.fsim.hklind = grain{ii}.fsim.thetatype;
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