Mathematica code to construct cuboids from processed voxel data outputted by MicroCT. Each input file should contain a list of coordinates, which represents the left upper front point of the voxels composing one grain. You can download this code here.

This code has been used in:

  • De Groot, L.V., Fabian, K., Béguin, A., Reith, P., Barnhoorn, A., & Hilgenkamp, H. (2018, 4). Determining Individual Particle Magnetizations in Assemblages of Micrograins. Geophysical Research Letters, 45(7), 2995–3000 doi: 10.1002/2017GL076634
  • De Groot, L.V., Fabian, K., Béguin, A., Kosters, M., Cortés-Ortuño, D., Fu, R., Barnhoorn, A. (2021). Micromagnetic Tomography for Paleomagnetism and Rock-Magnetism. Earth and Space Science Open Archive, 44. doi: 10.1029/2021JB022364