Hi, I've been working with some ODF that I calculated from a EBSD data,
This error is happening with some ODFs (in this case: odfa) How can I fix it?
[modesa, weightsa] = calcComponents(odfa)
Error using Miller (line 110)
(0,0,0) is not a valid Miller index
Error in orientation/log (line 53)
v = Miller(log@quaternion(ori),ori.CS);
Error in unimodalComponent/grad (line 47)
v = log(reshape(qSS(issq) *
center(i),[],1),reshape(q2(j),[],1),varargin{:});
Error in ODF/grad (line 33)
g = g + odf.weights(i) *
odf.components{i}.grad(ori,varargin{:});
Error in ODF/calcComponents (line 66)
g = normalize(odf.grad(modes(~finished)),1);