calcModes edit page

heuristic to find modal orientations

Syntax

[modes, values] = calcModes(odf,'numLocal',n)

Input

odf ODF
n number of modes

Output

modes modal orientation
values values of the ODF at the modal orientation

Options

resolution search--grid resolution
accuracy in radians

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