-
Notifications
You must be signed in to change notification settings - Fork 24
Indexing
If you have captured a series of normal vectors and you want to see if AstroEBSD can help index them, you can try them in using the following commands.
Store the plane normal vectors in an [n x 3] array, where n are the numbers of your bands. These should be unit vectors. The output data will be reported in rotatation_data:
%first we need the phase data Astro_FP='C:\Users\bbrit\Documents\MATLAB\AstroEBSD'; InputUser.Phase_Folder = [Astro_FP '\phases']; InputUser.Phase_Input = {'Ferrite'};
[ Crystal_UCell,Crystal_Family,Crystal_LUT,Settings_LUT,Phase_Num ] = Phase_Builder( InputUser.Phase_Input,InputUser.Phase_Folder);
Phase_Num=1;
%next we need to index the data [rotatation_data,rotatation_data.banddata]=EBSP_Index(peaks_nhat,Crystal_LUT{Phase_Num},Settings_LUT{Phase_Num}.thresh_trig,Crystal_UCell{Phase_Num},eye(3));