Skip to content

Grain selection by orientations #514

Discussion options

You must be logged in to vote

Hi Mael,

please consider asking questions in the forum :) I guess what you looking for is something like

c_plane = Miller(0,1,1,cs,'hkl'); % your crystal plane
a_plane = vector3d(0,0,1); % your analysis plane normal

delta = 10*degree; % the threshold
condition = angle(grains.meanOrientation \ a_plane, c_plane) > delta;

grains_selected = grains(ind)

All the best,
Ralf.

Replies: 3 comments

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
2 participants
Converted from issue

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