calcTDF edit page

calc circular axis/ trend distribution function of grain long axes OR grain boundary segments or from a list of angles for axial data (0:pi)

Note: In case of boundaries, this function only makes sense for smoothed boundaries and one would potentially remove grains touching the edge of the map unless only indexed-phase gbs are considered!


[freq,bc] = calcTDF(smoothgrains.boundary('indexed'))
[freq,bc] = calcTDF(smoothgrains('indexed'))


gb grainBoundary
grains @grains
azi angle in radians


totfreq population density of bin (radius)
bc center of bin (angle)
azi list of all azimuth/trends


binwidth angular binwith in radian (keyword,value)
freq instead of length, do frequencies only
weights instead of length, use weights