calcGBVotes edit page

compute votes from grain boundaries

Syntax

% compute votes from all p2c and c2c boundaries
job.calcGBVotes('threshold', 2*degree)
% compute votes only from p2c boundaries -> growth algorithm
job.calcGBVotes('p2c', 'threshold', 3*degree, 'tol', 1.5*degree)

Input

job parentGrainReconstructor

Output

job.votes table of votes

Options

p2c consider only parent / child grain boundaries
c2c consider only child / child grain boundaries
bestFit best fitting parent wins
threshold threshold fitting angle between job.p2c and the boundary OR
tolerance range over which the probability increases from 0 to 1 (default 1.5)
numFit number of fits to be computed
reconsiderAll reconsider also already reconstructed grains