Skip to content

Commit

Permalink
docu
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfHielscher committed Nov 18, 2020
1 parent 2d89fb3 commit 6587411
Showing 1 changed file with 23 additions and 4 deletions.
27 changes: 23 additions & 4 deletions EBSDAnalysis/@EBSD/calcGrains.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,43 @@
% grains reconstruction from 2d EBSD data
%
% Syntax
%
% grains = calcGrains(ebsd,'angle',10*degree)
%
% % allow grains to grow into not indexed regions
% grains = calcGrains(ebsd('indexed'),'angle',10*degree)
%
% % do not allow grains to grow into not indexed regions
% grains = calcGrains(ebsd,'unitCell')
%
% % follow non convex outer boundary
% grains = calcGrains(ebsd,'boundary','tight')
%
% Input
% ebsd - @EBSD
%
% Output
% grains - @grain2d
%
% Options
% threshold|angle - array of threshold angles per phase of mis/disorientation in radians
% boundary - bounds the spatial domain ('convexhull', 'tight')
% threshold, angle - array of threshold angles per phase of mis/disorientation in radians
% boundary - bounds the spatial domain ('convexhull', 'tight')
%
% Flags
% unitcell - omit voronoi decomposition and treat a unitcell lattice
% unitCell - omit voronoi decomposition and treat a unitcell lattice
% FMC - use fast multiscale clustering method
% soft - use markovian clustering algorithm
% custom - use a custom property for grain separation
%
% References
%
% * C. McMahon, B. Soe, A. Loeb, A. Vemulkar, M. Ferry, L. Bassman,
% Boundary identification in EBSD data with a generalization of fast
% multiscale clustering, <https://doi.org/10.1016/j.ultramic.2013.04.009
% Ultramicroscopy, 2013, 133:16-25>.
%
% See also
%
% GrainReconstruction GrainReconstructionAdvanced

% subdivide the domain into cells according to the measurement locations,
% i.e. by Voronoi teselation or unit cell
Expand Down

0 comments on commit 6587411

Please sign in to comment.