calcComponents Error

24 views
Skip to first unread message

Camilo Garzón

unread,
Mar 21, 2019, 2:41:59 AM3/21/19
to MTEX
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); 

Camilo Garzón

unread,
Mar 21, 2019, 3:33:29 AM3/21/19
to MTEX

Ralf Hielscher

unread,
Mar 27, 2019, 2:53:30 AM3/27/19
to MTEX
Hi Camilo,

this is indeed a bug in MTEX 5.1. You may switch to MTEX 5.2.beta2 where this problem is resolved.

All the best,

Ralf.
Reply all
Reply to author
Forward
0 new messages