Homepage & docs: http://marcoalopez.github.io/GrainSizeTools/

GrainSizeTools is a free, open-source, cross-platform script written in Python that provides several tools for (1) estimating average grain size in polycrystalline materials, (2) characterizing the nature of the distribution of grain sizes (either from apparent distributions or approximating 3D grain size distributions via stereology), and estimating differential stress via paleopizometers. The script requires as the input the areas of the grain profiles measured grain-by-grain on planar sections and does not require previous experience with Python programming language (see documentation below and FAQ). For users with coding skills, the script is organized in a modular way facilitating the reuse and code extension.

Lopez-Sanchez, MA (2018). GrainSizeTools: a Python script for grain size analysis and paleopiezometry based on grain size. Journal of Open Source Software, 3(30), 863, https://doi.org/10.21105/joss.00863

Features

  • Extract data automatically from tabular-like files including txt, csv, or excel formats.
  • Estimate different statistical descriptors to characterize grain size distributions. Average grain size measures include the arithmetic, geometric, RMS and area-weighted means, median, and frequency peak ("mode") using a Gaussian Kernel Density Estimator. Grain size can be represented in linear, logarithmic, and square root scales.
  • Estimate normalized apparent grain size distributions to compare between different grain size populations.
  • Estimate differential stress via paleopiezometers including multiple piezometric relations for quartz, olivine, calcite, and feldspar.
  • Estimate robust confidence intervals using the student's t-Distribution
  • Include several algorithms to estimate the optimal bin size of histograms and the optimal bandwidth of the Gaussian KDE based on population features.
  • Approximate the actual 3D grain size distribution from data collected in plane sections (2D data) using the Saltykov method. This includes estimating the volume of a particular grain size fraction.Approximate the actual 3D grain size distribution from data collected in plane sections (2D data) using the Saltykov method. This includes estimating the volume of a particular grain size fraction.
  • Approximate the lognormal shape of the 3D grain size distribution via the two-step method and characterize the shape using a single parameter (the MSD - Multiplicative Standard Deviation) .
  • Check lognormality using quantile-quantile plots (new in v2.0.3!)
  • Ready-to-publish plots in bitmap or vector format (see screenshots for examples).

Project Samples

Project Activity

See All Activity >

Categories

Earth Sciences

License

Apache License V2.0

Follow GrainSizeTools script

GrainSizeTools script Web Site

You Might Also Like
Finance Automation that puts you in charge Icon
Finance Automation that puts you in charge

Tipalti delivers smart payables that elevate modern business.

Our robust pre-built connectors and our no-code, drag-and-drop interface makes it easy and fast to automatically sync vendors, invoices, and invoice payment data between Tipalti and your ERP or accounting software.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of GrainSizeTools script!

Additional Project Details

Intended Audience

Science/Research

Programming Language

Python

Related Categories

Python Earth Sciences Software

Registered

2014-06-16