Skip to content

angle calculation query #502

Answered by kilir
thgink asked this question in Ask Anything
Discussion options

You must be logged in to vote

I think that is in one part the syntax you had in the map command and actually for me, your definition of m throws an error related to the alignment - but I guess that's your * signs are missing:

a=crystalSymmetry('m-3m',[5.9612,5.9612,5.9612],[90,90,90]*degree, 'X||a','Z||c','mineral','Autensite');
m=crystalSymmetry('2',[4.5134,5.2117,38.2979],[90,87.5,90]*degree, 'X||a','Z||c*','mineral','Martensite');

angle(Miller(0,1,1,a,'hkl'),Miller(1,-1,1,a,'uvw'),'noSymmetry')/degree
angle(Miller(-1,-2,8,m,'hkl'),Miller(-2,1,0,m,'uvw'),'noSymmetry')/degree

misori = orientation.map(Miller(0,1,1,a,'hkl'),Miller(-1,-2,8,m,'hkl'),Miller(1,-1,1,a,'uvw'),Miller(-2,1,0,m,'uvw'));

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ralfHielscher
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #502 on October 16, 2020 15:55.