Dear All,
I am calculating volume fraction of different texture components present in an EBSD data set of Fe-Cr, ferritic alloy. I have used the following code:
CS = crystalSymmetry('cubic');
SS = specimenSymmetry('mmm');
ebsd_corrected = ebsd(ebsd.mad<0.9)
ebsd=ebsd_corrected('Iron-alpha');
ori = orientation('Miller',[1 0 0],[0 1 1],CS,SS) % define the particular texture component
%number of all measurement points
all_points = numel(ebsd.x);
%EBSD subset with those points which orientations differ not more than 10° from
%ori
ori_EBSD = findByOrientation(ebsd,ori,10*degree);
%Volume fraction
Vol_ori_EBSD = numel(ori_EBSD.x)/all_points;
However, during execution it shows the following error:
Error using orientation/dot_outer (line 22)
comparing orientations of different phase not yet supported
Error in quaternion/find (line 15)
d = dot_outer(quats,quat);
Error in EBSD/findByOrientation (line 15)
ind = find(ebsd.orientations,q0,epsilon);
I have figured it out that the problem is in the line " ori_EBSD = findByOrientation(ebsd,ori,10*degree);", though I am not able to solve it. I am pretty new with MTEX. Any kind of help will be appreciated.
Thanks
Soupitak