Questions about the function "round2Miller". #2104
-
When I used the "round2Miller" function to convert Euler angle into Miller index, I got the result of "(8 -7 12)[-1107]". It is difficult for me to tell whether [-1107] means [-1 10 7] or [-11 0 7]. Is there any way to avoid this situation?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, or you could have two output arguments and in return get Millers as a result. Hope that helps, Rüdiger |
Beta Was this translation helpful? Give feedback.
Hi,
with just one output argument, round2Miller returns a string.
You could have it comma separated
miller_index = round2Miller(orientation, CS,'commasep')
or you could have two output arguments and in return get Millers as a result.
[d,p] = round2Miller(orientation, CS)
Hope that helps,
Rüdiger