gbcSoft edit page

gbcSoft soft misorientation-angle grain boundary criterion

A smooth (error-function) version of the angle criterion: instead of a hard threshold the connectivity decreases gradually around it.

Syntax

criterion = gbcSoft([10 2.5]*degree);
criterion = gbcSoft('threshold',[10 2.5]*degree);
out = criterion.eval(ebsd,i,j);

Output

out ~ 1 no boundary (same grain) out ~ 0 grain boundary
The threshold is [t0 t1]: t0 is the centre misorientation angle, t1 the width of the transition. A scalar t is expanded to [t 0.5*t].