Skip to main content

StereonetForge: dependency-light stereonet plotter for planes (Dip/DipDir) with 1..N groups

Project description

StereonetForge

Author: Dr. Aram Fathian
Affiliation: Department of Earth, Energy, and Environment; Water, Sediment, Hazards, and Earth-surface Dynamics (waterSHED) Lab; University of Calgary
License: MIT

StereonetForge is a dependency-light stereonet plotter for planar geology data (e.g., Dip / Dip Direction).
It works with one or many groups (or no group column), computes mean planes, KDE pole-density rings, and optional intersection lines between mean planes.

How to cite

Fathian, A. (2025). StereonetForge (v0.2.1) [Software]. Zenodo. https://doi.org/10.5281/zenodo.17140123

Install

Option A — from GitHub (recommended until on PyPI)

python -m pip install "git+https://github.com/aramfathian/StereonetForge.git@main"

Option B — from a numbered tag

python -m pip install "git+https://github.com/aramfathian/StereonetForge.git@v0.2.1"
# If you see "did not match any file(s) known to git", use the exact tag listed on the Releases page.

Option C — from the local folder

python -m pip install .

Once published to PyPI, users can do: pip install stereonet-forge

Command Line

# Single group (no group column)
stereonet-plot examples_general/example_one_group.csv --out-prefix ex1

# With group column 'Set'
stereonet-plot examples_general/example_two_groups.csv --group-col Set --out-prefix ex2

# Only Strike + Dip (derive Dip Direction)
stereonet-plot examples_general/example_three_groups_strike.csv --group-col Group --dip-col Dip --out-prefix ex3

# Combined 'Dip/DipDir' column called Dip_DD
stereonet-plot examples_general/example_combined_column.csv --group-col Domain --out-prefix ex4

Options

  • --dip-col, --dipdir-col, --group-col (auto-detects if omitted; can parse combined "Dip/DipDir")
  • --intersections none|auto|all|A|B,B|C
  • --cmap tab10 (colormap per group), --kde-bandwidth 0.09
  • --figsize 10.5,10.5, --dpi 170

Library

from stereonet_forge import plot_stereonet_from_csv, Style
fig, ax = plot_stereonet_from_csv("my.csv", group_col="Face", out_prefix="myplot")

Development

  • See CONTRIBUTING.md for guidelines.
  • Typical build & publish:
python -m pip install --upgrade build twine
python -m build
twine check dist/*
twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stereonet-0.2.1.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stereonet-0.2.1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file stereonet-0.2.1.tar.gz.

File metadata

  • Download URL: stereonet-0.2.1.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for stereonet-0.2.1.tar.gz
Algorithm Hash digest
SHA256 7a93948bc65a9015bbb63a9e7aa1c6e1203446695ebcc1b8d46efa9ac4f72f1f
MD5 aefd3843fe2fe91bd6ff74200f0ff5f8
BLAKE2b-256 0fa5df52d3e64cdfb4cb8eecddf96b0208defe259bd40d4e2e586fe90de59f52

See more details on using hashes here.

Provenance

The following attestation bundles were made for stereonet-0.2.1.tar.gz:

Publisher: publish.yml on aramfathian/StereonetForge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file stereonet-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: stereonet-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for stereonet-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21c11953b333f0223b63a5701a87135335884ce8dbfae0bf9ae3d8495e988fb8
MD5 ce348ce61055e5cdba9b54dd38de821f
BLAKE2b-256 f43ed2f3842a1a9a81ad9a202efb76cdf19a4eb4759609d64a1c2c3c64315bf8

See more details on using hashes here.

Provenance

The following attestation bundles were made for stereonet-0.2.1-py3-none-any.whl:

Publisher: publish.yml on aramfathian/StereonetForge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page