calcComponents edit page

heuristic to find modal orientations

Syntax

[modes, volume] = calcComponents(odf)
[modes, volume, centerId] = calcComponents(odf,'seed',ori)

Input

odf ODF
ori initial list of orientation

Output

modes modal orientation
volume volume of the component
centerId list of ids to which each initial ori converged to

Options

resolution search-grid resolution
angle maximum component width used for volume computation
exact do not dismiss very small modes at the end

Example

%find the local maxima of the <SantaFe.html SantaFe> ODF
mode = calcModes(SantaFe)
plotPDF(SantaFe,Miller(0,0,1,mode.CS))
annotate(mode)
mode = orientation (m-3m → xyz (222))
 
  Bunge Euler angles in degree
     phi1     Phi    phi2    Inv.
  296.565 48.1897 26.5651       0

See also

ODF.max