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

Twins analysis : added normalization to rotation axis in cartesian coordinates


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

git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@976 4c865b51-4357-4376-afb4-474e03ccb993
parent b5cd96b3
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,7 @@ elseif spacegroup==194 % hexagonal case
for ii=1:size(twin_axis, 1)
twin_axis_cart(ii, :) = Amat*twin_axis(ii, :)';
twin_axis_cart(ii, :) = twin_axis_cart(ii, :)/norm(twin_axis_cart(ii, :));
rotcomp = gtMathsRotationMatrixComp(twin_axis_cart(ii, :)','col');
......
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