Matlab code which reads 3-D segmentation data calculated from 3-D micro-CT scans of snow microstructure.  This code package derives the material's fabric tensor from the segmented data.