Welcome to the repository for the package stirstick
! This is a small package solely devoted to calculating and visualizing 2 and 3 component geochemical mixing models.
Quantifying and visualizing geochemical mixtures exists in many earth science disciplines. This quantification can range from relatively simple two component mixing of concentrations to significantly more complex n-component mixing of isotopic ratios and everything in between. For a more in-depth explanation of mxing theory the following references are incredibly useful:
-
Albarede (1995): Introduction to Geochemical Modeling Chapter 1 on mass balance, mixing, and fractionation.
-
Faure 1998: Principles and Applications of Geochemistry 2nd edition pg. 336 eqns 18.24-18.26
-
Faure and Mensing (2009): Isotopes Principles and Applications 3rd edition chapter 16 on Mixing Theory
stirstick
is comprised of two modules:
-
mixing
: for create mixing models for the following scenarios- Two and three component mixing in concentration-concentration space
- Two and three component mixing in concentration-ratio space
- Two and three component mixing in ratio-ratio space
-
plotting
: for visualizing all of the aforementioned scenarios.
That's it!
See the walkthrough.ipynb
for more examples and guides!
pip install stirstick
So far these only cover the very basics of geochemical mixing. If you would like to contribute or have things you want to see implemented please open an issue or create a pull request!