Homepage & documentation: http://marcoalopez.github.io/GrainSizeTools/
GrainSizeTools script is a free open-source cross-platform script written in Python that provides several tools to visualize and characterize the grain size in polycrystalline materials from thin sections. The script is suitable to use for paleopiezometry (paleowattmetry) studies and to derive the actual 3D grain size distribution using the Saltykov and the two-step methods. The script requires measuring the grain sectional areas from a thin section and does not require a previous experience with Python programming language. For users with coding skills, the script is organized in a modular way using Python functions, which facilitates to modify, reuse or extend the code if needed.
- Load and extract data from txt and csv files generated by the ImageJ or any other application.
- Calculate the apparent diameters of the grain profiles via the equivalent circular diameter and correct, if required, the diameters by adding the perimeter of the grains.
- Estimate different apparent 1D grain size measures including the mean, median, area-weighted mean and frequency peak, the latter using the Gaussian Kernel Density Estimate method (scales can be linear, log, or square root).
- It implements several algorithms to estimate the optimal bin size of histograms and the optimal bandwidth of the Gaussian KDE based on the population features.
- Derive the actual 3D grain size distribution from thin sections (2D data) using the Saltykov method, including to get an estimation of the volume of a particular grain size fraction.
- Estimate the shape of the 3D grain size distribution using the two-step method and a single parameter (the MSD).
- It produces different ready-to-publish plots, allowing to save the graphical output as a bitmap or vector images (see the image above for examples).
Be the first to post a review of GrainSizeTools script!