Skip to main content

A tool for automated stratigraphic log visualisation

Project description

stratapy Logo

A Tool for Automated Stratigraphic Log Visualisation

A Python-based framework for automated visualisation of creating standardised, reproducible, and digitally integrated stratigraphic logs.

PyPI Paper

Docs Open In Colab Downloads Python Versions Tests

Key Features

  • Simple Input Format: Use CSV, Excel or similar files to structure your data with a range of supported column types (lithology, grain size, features, lenses, contacts, etc.) and let stratapy handle the visualisation

  • Vast Customisation: Tailor every aspect of your logs, from layout and styling to colours and symbology, with a simple parameter-based interface

  • Standardised Symbology: Access a curated library of geological symbols and patterns, including USGS standard lithology patterns

  • Multi-Figure Functionality: Create complex, multi-panel figures with ease, enabling comprehensive visualisation of stratigraphic data

  • Publication-Quality Output: Generate high-resolution figures suitable for academic publication and professional presentations

  • Accessible for Non-Programmers: Designed with user-friendliness in mind, enabling geoscientists of all programming skill levels to create stunning visualisations

Making logs with stratapy

For more examples, see the documentation or try it out online with this Google Colab tutorial notebook.

Quick Start

Installation

pip install stratapy

Basic Usage

import stratapy as sp

# Load and plot a log
log = sp.load_log('path/to/file.csv')
log.plot()
log.save('output.png')

Multi-Panel Figures

import stratapy as sp

# Automatically plot multiple logs in a single figure
files = ['log1.csv', 'log2.csv', 'log3.csv']
panel = sp.multi_fig(files)
panel.save('output.png')

Use Online - No Installation Required

Try out stratapy immediately without any installation using this Google Colab tutorial notebook.

See the Online Platforms section of the documentation for more details.

Documentation

For full API reference and tutorials, visit our ReadTheDocs page.

Citation

If you use this software in your research or otherwise, please cite its associated publication:

Smith, J. L., Antoniou, C., & Alexander, R. (2026). Stratapy: a tool for automated stratigraphic log visualisation. Scientific Reports 16 1 https://doi.org/10.1038/s41598-026-58501-2

For detailed citation metadata, see CITATION.cff or use the following BibTeX entry:

@software{smith_stratapy_2026,
  author       = {Smith, Jack Lee and Antoniou, Christina and Alexander, Ruaridh},
  title        = {Stratapy: a tool for automated stratigraphic log visualisation},
  journal      = {Scientific Reports},
  volume       = {},
  number       = {},
  month        = june,
  year         = 2026,
  doi          = {10.1038/s41598-026-58501-2},
  url          = {https://doi.org/10.1038/s41598-026-58501-2},
}

License

Distributed under the BSD 3-Clause License. See LICENSE.txt for more information.

Compatibility

stratapy is compatible with Python 3.9 and above, and supports a wide range of versions for key dependencies (NumPy, Pandas, Matplotlib).

Python Version NumPy Range Pandas Range Matplotlib Range Status Notes
3.11 >=1.22 >=1.4 >=3.0 ✔️ Recommended Environment (Full support across all versions)
3.12 / 3.13 >=1.24 >=2.0 >=3.8 ✔️ Fully Supported (Legacy stacks are not compatible)
3.14 >=2.0 >=2.2 >=3.9 ✔️ Bleeding-Edge (Support for latest Python and dependencies; may have some issues with older versions)
3.9 / 3.10 <2.1 <3.0 <3.10 ✔️ Supported for stable/legacy stacks; excludes bleeding-edge
<=3.8 Unsupported

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

stratapy-1.0.0.tar.gz (17.6 MB view details)

Uploaded Source

Built Distribution

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

stratapy-1.0.0-py3-none-any.whl (17.6 MB view details)

Uploaded Python 3

File details

Details for the file stratapy-1.0.0.tar.gz.

File metadata

  • Download URL: stratapy-1.0.0.tar.gz
  • Upload date:
  • Size: 17.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for stratapy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 17c573fad3c5ac7c8ed0572c53db23169f5348360fc5019d9910d267e7377ed8
MD5 08866068a7ba6c0b16c545a49c63e0bc
BLAKE2b-256 b1b0afd4db3d96e8f307e532dbce19617177b98e308d2021e5009b0482448135

See more details on using hashes here.

File details

Details for the file stratapy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: stratapy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for stratapy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 37901e0097976f2b81675461e811a19423309a0aa7c98c8cedf49e3640d1361f
MD5 5dfa10fcdf039a25816bdecbabf345ce
BLAKE2b-256 eedc73d8075c8d9d80de9fa4b40e4eb2b371e54b15305c750a04250aa04f1594

See more details on using hashes here.

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