Normalising IPDF Triangles #525
Replies: 5 comments 3 replies
-
Hi Mia, |
Beta Was this translation helpful? Give feedback.
-
If you calculate them as spherical functions (class S2Fun) you can simply divide one by the other. Here's an example of taking some misorientation axes and normalizing their distribution by the distribution of misorientation axes induced by the crystal symmetry,. cs=crystalSymmetry('222')
% symmetry induced axis distribution
dist1 = calcAxisDistribution(cs,cs);
% make up some data
mdf = calcDensity(orientation.rand(5,cs,cs),'halfwidth',15*degree)
mori = discreteSample(mdf,400)
% option one
dist2 = calcDensity(mori.axis)
dist2.antipodal=1;
% normalize
dist1_norm_by_dist2 = dist1./dist2;
dist1_norm_by_dist2 = dist1_norm_by_dist2*(1/dist1_norm_by_dist2.mean);
%
plot(dist1)
mtexTitle('symmetry induced')
nextAxis
plot(dist2)
mtexTitle(' "measured" ')
nextAxis
plot(dist1_norm_by_dist2)
mtexTitle('normalized')
mtexColorbar
% note that the first two plot are mud while the third one is something
% like multiples of dist1 So, as long as you can compute a spherical function from your data, this should not be a problem. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi, If your result would have been of type S2FunHarmonicSym, Mtex should have plotted only the fundamental region. Maybe you should describe in more detail what you'd like to do. Cheers, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi, I was wondering if someone could help me. I have segmented data that I would like to extract some information from, but i would like to normalise it over the total IPDF, is this possible in MTEX? Like in this case, I would like to normalise each of the individual IPDF triangles over the Total IPDF triangle :)
Thanks for the help.

Mia
Beta Was this translation helpful? Give feedback.
All reactions