What is Stratapy?

stratapy is a Python package which enables quick generation and easy visualisation of sedimentary logs (i.e. cores or stratigraphic sections) using stratigraphic data across multiple disciplines i.e., geology, sedimentology, carbonates. It uses simple excel/csv/txt input files to plot stratigraphic columns, ideal for non-programmers. This package enables geoscientists to efficiently document, analyse, and interpret geological layers at both macro- and micro-scales for research, teaching, and any other purposes.

Why use stratapy?

stratapy is designed to be quick and user-friendly, allowing geoscientists to create detailed stratigraphic logs without needing extensive programming knowledge and time investment. It supports a wide range of customisation options, enabling users to tailor their logs to specific research needs. The package is built on top of popular libraries like matplotlib, making it powerful yet accessible.

Key Features

  • Easy to Use: Simple input files (Excel/CSV/TXT) for quick log generation.

  • Key Features: Supports various types of logs, uses USGS standard patterns, automatically generates legends, and allows for extensive customisation.

  • Visualisation: High-quality, publication-ready figures with options for annotations, scales, and colours.

  • Time-efficient: Streamlines the process of creating stratigraphic logs, saving time for researchers.

  • Customisable: Extensive options for log appearance, including colours, chronostratigraphy, labels, and more. Most aspects of a log can be customised to fit specific needs.

  • Multi-disciplinary: Suitable for various fields including geology, sedimentology, tephra, and carbonates.

  • Advanced Plotting: Supports complex visualisations like composite logs, subplots, and adding additional data elements like geochemical data plots, bar charts, images, and much more.

  • Documentation: Comprehensive guides and examples to help users get started and make the most of the package.