calcGBFit edit page

fit between child to child misorientations and job.p2c

Syntax

[fit, pairs] = job.calcGBFit
% visualize the result
[gB, pairId] = job.grains.boundary.selectByGrainId(pairs);
plot(gB, fit(pairId) ./ degree, 'linewidth',2);
setColorRange([2,8])
mtexColorMap white2black
% consider only P2C neighbors
[fit, p2cPairs] = job.calcGBFit('p2c')
% consider only C2C neighbors
[fit, c2cPairs] = job.calcGBFit('c2c')

Input

job parentGrainReconstructor

Output

fit fit between the grain boundary misorientations and job.p2c
pairs list of grainId of the neighboring grains