I tried to define Slip system for calculating the Taylor and Schmid Factor map (EBSD data)
r = vector3d(1,-1,0);
r=yvector;
BasalFactor=3;
PrismaticFactor=1;
%type pyramidal
Pyramidal_a_Factor=3;
%type I pyramidal
Pyramidal_ab_I_Factor=7;
sSBasal = slipSystem.basal(CS{2},3);
sSBasal = sSBasal.symmetrise('antipodal');
sSPrismatic = slipSystem.prismatic2A(CS{2},1);
sSPrismatic = sSPrismatic.symmetrise('antipodal');
% type II pyramidal
sSPyramidal = slipSystem.pyramidal2CA(CS{2},7);
sSPyramidal = sSPyramidal.symmetrise('antipodal');
rCS = ebsd_ci('Titanium(Alpha)').orientations \ r;
% Basal slip calculations
sFBasal = abs(sSBasal.SchmidFactor(rCS));
plot(ebsd('Titanium (Alpha)'),max(sFBasal,[],2))
But I see the following error:
Error using phaseList/checkSinglePhase (line 287)
There are no indexed data in this variable!
Error in phaseList/get.CS (line 154)
id = checkSinglePhase(pL);
Error in EBSD/get.orientations (line 148)
ori = orientation(ebsd.rotations,ebsd.CS);
Error in EBSD/subsref (line 40)
[varargout{1:nargout}] = builtin('subsref',ebsd,s);
I couldn't fix it. Can anyone help.