Skip to main content

1D geological prior generator for stochastic lithology and resistivity modeling

Project description

geoprior1d

1D geological prior generator for stochastic lithology and resistivity modeling.

Installation

From source

cd geoprior1d

# Basic installation
pip install .

# Development installation (editable mode)
pip install -e .

# With development tools
pip install -e ".[dev]"

From PyPI (after publishing)

pip install geoprior1d

Quick Start

Command Line

geoprior1d input.xlsx -n 10000 -d 90 --plot

Python API

from geoprior1d import generate_prior

# Generate priors
filename, flags = generate_prior(
    input_data="daugaard_matlab.xlsx",
    Nreals=10000,
    dmax=90,
    dz=1,
    doPlot=1
)

print(f"Output saved to: {filename}")

Input File Format

See CLAUDE.md for detailed format specification.

Development

Install development dependencies

pip install -e ".[dev]"
# or
pip install -r requirements-dev.txt

Run tests

pytest
pytest --cov=geoprior1d  # With coverage

Code formatting

black geoprior1d/
isort geoprior1d/
flake8 geoprior1d/

Project Structure

This project uses modern Python packaging with pyproject.toml. See MODERN_PACKAGING.md for details.

Documentation

License

MIT License

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

geoprior1d-0.9.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

geoprior1d-0.9.0-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file geoprior1d-0.9.0.tar.gz.

File metadata

  • Download URL: geoprior1d-0.9.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for geoprior1d-0.9.0.tar.gz
Algorithm Hash digest
SHA256 539c280cd9fdd111833a17ef720ee2f1557f5289a1bd6fcbe56f6b42a74bb037
MD5 e503b06d9a73cc0c3af0e5cd17e819ed
BLAKE2b-256 84385dd819653149e90c9e37fc32201243f713862113f08cb4444c46348f1fcc

See more details on using hashes here.

File details

Details for the file geoprior1d-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: geoprior1d-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for geoprior1d-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14da381f5ffba0703f9821a94bc41455f584cdc41ed5297d231269c3fd16e2cc
MD5 c9600213c555be6c4f5df6dfb4e6900a
BLAKE2b-256 501ded103fdae3d1f6a62538ff2925f49ba4e856d7caf5119cc3f3b2ce13f7b1

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