Maintained by Marco A. Lopez-Sanchez - This website was last modified: 2024-06-26
GrainSizeTools is a free, open-source, cross-platform script written in Python that provides tools for (1) quantifying and visualising grain size populations, (2) applying stereological methods to approximate the true grain size distribution from 2D sections and (3) estimating differential stress for different mineral phases via paleopiezometry. The script has been designed to be accessible to users with no previous experience of the Python programming language and focuses on scientific reproducibility by including several ready-made templates for the different use cases. For users with programming skills, the script is organised in a modular (functional) way to facilitate reuse and code extension.
Latest release: v3.2.0
Date: 2024-06-26
See notes at https://github.com/marcoalopez/GrainSizeTools/releases/tag/v3.2.0
View project on GitHub
-
Import and manipulate tabular data sets including text, CSV, or Excel formats via Pandas.
-
Fully automated descriptive statistics of grain size populations including:
- Multiple averages (arithmetic and geometric means, median, and frequency peak ("mode") via Gaussian Kernel Density Estimator)
- Estimation of robust confidence intervals (including some specific methods for lognormal populations such as the modified Cox or the GCI method)
- Measures of dispersion and population shape
- Normality and lognormality tests
-
Estimation of differential stress using palaeopiezometers. It includes piezometric relations for quartz, olivine, calcite and feldspar (more to come!)
-
Ready-to-publish plots in bitmap or vector format (see screenshots below), including:
- Histograms and kernel density estimates
- Area or volume-weighted plots
- Normalized plots
- Quantile-quantile plots, and more
-
Stereology methods (approximating the true 3D grain size distribution from data collected in flat sections):
- Saltykov method
- Two-step method (log-normal fitting, shape characterization)
- Estimate the volume fraction occupied by any grain size range
https://github.com/marcoalopez/GrainSizeTools/releases
https://github.com/marcoalopez/GrainSizeTools/wiki
If you have used the script, please consider citing the following paper:
Lopez-Sanchez, Marco A. (2018). GrainSizeTools: a Python script for grain size analysis and paleopiezometry based on grain size. Journal of Open Source Software 3, 863, https://doi.org/10.21105/joss.00863
By citing this paper, you are giving proper credit to the author and acknowledging his work.
GrainSizeTools script is licensed under the Apache License, Version 2.0 (the "License")
The documentation of GrainSizeTools script is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).
The GitHub site where the project is hosted offers several options (you'll need a GitHub account, it's free!)::
- Open a discussion: This is a place to:
- Ask questions you are wondering about.
- Requests for specific features or share ideas.
- Interact with the developers.
- Open an issue: This is a place to report or track bugs.
- Make a pull request: You have modified, corrected or added a feature to one of the notebooks and send it to one of the developers to review it and add it to the main page.
Copyright © 2017-2024 Marco A. Lopez-Sanchez
Warning
Please note that the information on this website and in the script documentation is provided without any warranty of any kind, either expressed or implied. It may therefore include technical inaccuracies or typographical errors. The author reserves the right to make changes or improvements to the content of this website and the script documentation at any time without notice. This website and its documentation are not responsible for the content of external links.
Hosted on GitHub Pages — This website was created with Typora