% Rotate data
ebsd = rotate(ebsd,rotation('axis',zvector,'angle',-90*degree))
% Parameters used to define the subset
% GAM
GAM = accumarray(ebsd('indexed').grainId, KAM(ebsd('indexed'),'threshold',10*degree)./degree, size(ebsd), @nanmean);
% Equivalent diameter
Area = area(grains);
eq_diameter = 2 * sqrt(Area / pi)
% convex hull (envelope of grains)
[ch_perim, ch_Area] = convexhull_measures(grains);
perim = perimeter(grains);
% Tortuosity
tortuosity = perim ./ ch_perim;
odf_plag = calcDensity(ebsd('Plagioclase').orientations,'halfwidth',10*degree)
% J index
Jindex_plag = textureindex(odf_plag)
% M index
Mindex_plag = calcMIndex(odf_plag)
--
If you want to reduce the number of emails you get through this forum login to https://groups.google.com/forum/?fromgroups=#!forum/mtexmail, click "My membership" and select "Don't send me email updates". You can still get emails on selected topics by staring them.
---
You received this message because you are subscribed to the Google Groups "MTEX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mtexmail+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mtexmail/71177822-8364-4a46-987d-7577bebc20a7%40googlegroups.com.