Error while calculating volume fraction of texture components

39 views
Skip to first unread message

Soupitak Pal

unread,
Jun 29, 2017, 8:48:01 PM6/29/17
to MTEX Forum
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 

Nick Byres

unread,
Oct 9, 2019, 8:18:53 AM10/9/19
to MTEX Forum
Hi Soupitak,

Did you find a solution to this problem? I am very interested.

Kind regards,
Nick
Reply all
Reply to author
Forward
0 new messages