max

(method of ODF)

heuristic to find local modal orientations

Syntax

[m,ori]= max(odf,'param1',val1,'param2',val2)

Input

odf

ODF

param,val Parameters and values that control max
Parameter Description
'resolution'

search-grid resolution

'accuracy'

in radians

Output

m

maximum in multiples of the uniform ODF

ori

orientation where the maximum is atained

Example

%find the local maxima of the SantaFe ODF
[m,ori] = max(SantaFe)
plotPDF(SantaFe,Miller(0,0,1,ori.CS))
annotate(ori)

See also

ODF/calcModes