Home
Back to portfolio

GeoNormPy

Published Python engine for reproducible CIPW normative mineralogy, iron handling, and saturation assessment from whole-rock geochemistry.

Overview

GeoNormPy is a Python library and computation engine for CIPW normative mineralogy calculations and igneous geochemistry analysis. It implements the classical Cross–Iddings–Pirsson–Washington (CIPW) algorithm to calculate normative mineral assemblages from major-oxide geochemical data.

Designed as a modular, standalone library, it serves as the underlying petrological calculation engine for desktop applications like PetroPyQAPF and data pipelines focusing on geochemical modeling and rock classification.

Key Features

  • Standard CIPW Algorithm: Robust implementation of the Cross–Iddings–Pirsson–Washington normative calculation logic.
  • Geochemical Corrections: Handles water corrections, Fe2O3/FeO ratio adjustments, and missing volatiles.
  • Normative Mineral Output: Computes weight percentages of standard minerals (Quartz, Orthoclase, Albite, Anorthite, Nepheline, Diopside, Hypersthene, Olivine, etc.).
  • Python Integration: Easily integrates with pandas, NumPy, and broader data science environments.

Repository